0

I am trying do a search and replace with Dreamweaver and regex. Specifically, I am trying to replace all the ' with ' but it keeps inserting '

I can't find an option to change or anything else. Does anyone know how to escape the ampersand or where the option is?

Thanks.

3
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by toadzky
0

I'm using CS3 and in code view I searched for ' and replaced with ' which worked fine for me.
I had none of the check boxes ticked and used Source Code as the place to search make sure its not set to text.

so...

Find in: Current Document
Search: Source Code
Find: '
Replace: '
Options: All unchecked.

replace and replace all both worked fine
you might also want to check the "Code Rewriting" section of your preferences and try some of the settings there.

0

i got it working. just needed to find and swap all the single quots from the tags so i could do source code find. I was using advanced text search so i would look only inside p tags.

thanks.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.