TeXShop search and replace for non-printing characters

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

TeXShop search and replace for non-printing characters

Alan Bowen-2
I want to replace some end of paragraphs with text and code in a TeXShop source file so that the next lines after a paragraph read:

So far I have the the regex search term  $ and the replacement text

This works but I end up with an unwanted empty line after 

does not seem to be CRLF but adds yet another empty line.

Is there a way to avoid this unwanted line or perhaps a better way to get what I want?

Any tips or pointers to relevant documentation will be gratefully received.


----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex