View Single Post
Old 08-27-2016, 10:01 AM   #9
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,363
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Thanks Rubén, I was just trying to show an example of how the "clip" acts differently depending on where your cursor is placed, not how to do a find/replace or the proper semantics of <em><p>. I guess I wasn't very good at explaining...

Quote:
Originally Posted by RbnJrg View Post
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>&nbsp;</p>\b)
and after that you'll get

Code:
<em><p>&nbsp;</p></em>
By the way, the correct code would be <p><em>&nbsp;</em></p>

Regards
Rubén
Turtle91 is offline   Reply With Quote