Copy link to clipboard
Copied
I need to remove double spaces between words. Is there a formula I can use using the 'find/replace' function.
The issue is, that I'm putting text into paragraphs which hasn't been edited correctly, and there are a lot of double spaces after/ before words.
Note: I'm not trying to remove white-space between <p> <div> etc.
Copy link to clipboard
Copied
You can use the F&R tool (Ctrl + F if it's not open) to search for 2 spaces and replace them with a single space. (both the find and replace functions see spaces as characters).
Just make sure you highlight the text you want to affect and choose "Selected Text" from the "Find In" drop down menu. If you don't, it will also remove indenting (DW uses spaces for indenting by default) and you would need to use Edit > Code > Apply Source Formatting to get your indentation back.
Copy link to clipboard
Copied
Thanks Jon.
Though, not the ideal solution, it did work. I was looking for a way of checking the complete site, rather than checking and selecting text on every individual page.