View Single Post
Old 06-05-2020, 04:05 AM   #3
d351r3d
Enthusiast
d351r3d began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Aug 2017
Device: none
Quote:
Originally Posted by The_book View Post
I think it is ^ and $ in regex. ^ means the start of a line and $ means the end.
What you want is the end of a line or the beginning of a line that has text on it, which I think close to ^.+$
If you just put in "find":
Code:
^.+$
Could you put in "replace":
Code:
<p></p>
and that would turn:
Code:
I really like sandwiches!
Into:
Code:
<p>I really like sandwiches</p>

Last edited by d351r3d; 06-05-2020 at 09:06 AM.
d351r3d is offline   Reply With Quote