Is there a way to replace a space with the non-breaking space html entity?
-
Hi
I want to search for a string preceded by a space and replace the space with
. But I’ve come up against two problems:– Search Regex ignores a leading space
– it strips the non-breaking space html entity and replaces it with a normal space.Has anyone got any tips on what I need to do?
I’ve tried using a regular expression with
[\s]
but that doesn’t seem to work.Thanks.
- The topic ‘Is there a way to replace a space with the non-breaking space html entity?’ is closed to new replies.