I have an editor that is putting in many 's in the source code it is creating. I have been unable to stop the insertion of the strings but I do need them removed.
Thanks for getting back to me. The only problem is that these encoded spaces don't show on Dreamweaver but they do when I transfer them to Blogger. So I need to remove the white space that translates to outside of dreamweaver.
Here is a screenshot of what it looks like before I paste it into blogger.
I know that but when I take the source code and post it to blogger I get all of the extra 's that skew the way the content is presented. If I can get a regex to remove it then the content won't be skewed on blogger.
Ryan Chong
what about if you paste the content into a Notepad before copy it again from Notepad to blogger, will the blogger still adding the white spaces?
for the blogger, can you paste the content in HTML view?
I appreciate all of the suggestions but as I asked in the beginning. I really want a regex to do the job. Not only for this problem but for some others not specified.
Shaun Vermaak
If you want to keep the first you can use this and delete all matches
and @Shaun please re-read the OP comment; OP is saying both whitespace (and extra 's, as a result of blogger's encoding) are an issue and that they should be eliminated.
Shaun Vermaak
Please reread my comments especially #a42418762, I know about the white-space and line-breaks.
My question is... Why is it okay to remove all whitespace ( etc.) when it repeats but leave it when there is one?
Either one needs to stay when there is a repeat -OR- all needs to be removed irrespective of repeats
Find and replace text, tags, and attributes
https://helpx.adobe.com/dreamweaver/using/find-replace-text.html