How to: Search & Replace in .html file , force newLine .
-
Hello & Thanks ’
I would like to search for “>” in .html file
and replace it with “>” and “newLine” .
So that np++ forces a newLine in np++ every time it encounter a “>”
This will make it easier to find the stuff that I need to edit .
Please , how to .Btw: Why does your Forum now force me to login via Facebook or Google . I don’t really want you folks to have all my info . Boo Hiss !
Thanks
-
Hit
Ctrl + Hto open Search & Replace dialog.Find what:
>
Replace with:>\nUnder Search Mode, check either
ExtendedorRegular expression. (see screenshot below)
Before hitting replace, move your cursor to the start of the document (the replace will only replace after your cursor).
The characters with backslashes stand for:
\t(tab),\n(newline),\r(carriage return),\0(NUL character)Cheers
-
Thank you very much !
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login