Quote:
Originally Posted by Turtle91
The only differences I've noted is that when in code view the clip (ex: "\1") will surround selected text with double quotes, while if you are in the find or replace fields it will replace the selected text with exactly "\1" .
eg.
the clip: <em>\1</em>
In code view with
<p> </p>
selected, the clip will produce:
<em><p> </p></em>
In the find or replace fields anything selected will be replaced by:
<em>\1</em>
|
That is because you didn't set the search properly.
- First at all, you need to set the search mode as "Regex".
- After that, in the "Find:" field you need to write the words to replace between (\byour words here\b).
Following your example, you need to write in the "Find:" field, the following:
Code:
(\b<p> </p>\b)
and after that you'll get
Code:
<em><p> </p></em>
By the way, the correct code would be <p><em> </em></p>
Regards
Rubén