tags:

views:

28

answers:

1

Hi all,

Does anybody know how to replace the HTML entity for dumb (straight) double quote marks (") with curly typographic html entites - “ and ” respectively?

I only know the basics of regex at the moment and was hoping that there were some good dreamweaver find-and-replace tutorials but so far have found nothing useful.

+1  A: 

Try this:

Find: "((.|\s)*?)"

Replace: “$1”

The regex says to look for """ followed by any amount of any character or whitespace (without being greedy), followed by another """.

You should be absolutely sure that the " symbols always come in pairs. Otherwise you might end up with odd results.

Alex B
Hazaar! That is EXACTLY what I was looking for! Thank you so much.
Adam C