Solved Find & Replace wxyz with CRLFwxyz function in text editor

December 28, 2015 at 03:21:43
Specs: Windows 7
How do I replace"wxyz" with "CRLFwxyz" using the find & replace function in a text editor? This seems like a simple request but everyone wants to make it complicated. Please, just using using the find & replace function!

See More: Find & Replace wxyz with CRLFwxyz function in text editor

Report •

#1
December 28, 2015 at 07:15:16
If by CRLF you mean "carriage return and line feed" then I don't think it's a simple request because it's not allowed as a normal Replace function. If you just want to add the letters CRLF in front of wxyz then it's easy - you just do it.

Gotta a feeling I've missed the point on this. No doubt I'll soon get put right.

Always pop back and let us know the outcome - thanks

message edited by Derek


Report •

#2
December 28, 2015 at 07:24:18
✔ Best Answer
In the text editor JEdit, freeware at:
http://www.jedit.org/

You would use the characters

   \r for Carriage Return
   \n for New Line  

In the Search and Replace Box, make sure that the Regular Expression box is ticked.

So it would be Search for your String,
then simply Replace with \r\n

MIKE

http://www.skeptic.com/


Report •

#3
December 30, 2015 at 04:32:29
Yes, by CRLF I meant "carriage return and line feed." It should be simple. I should be able to simply insert non printing characters such as CR LF. Many years ago, in the early days of Windows, I had an editor that was powerful for it's time. It permitted me to do this easily! Why would today's editors have less functionality than "ancent" editors? It makes no sense!

Report •

Related Solutions

#4
December 30, 2015 at 04:58:29
Notepad++ lets you search and replace even CR and LF. However I doubt you will be able to have CR+LF in the beginning of a line as in your example, due to the meaning of them.

Nigel

Wind slow


Report •

#5
December 30, 2015 at 05:08:58
Thank you!! JEdit worked great! It did what I wanted!

Many years ago, in the early days of Windows, I had an editor that was powerful for it's time. It permitted me to do this easily! Why would today's editors have less functionality than "ancient" editors? It makes no sense!

Again, thank you!


Report •

#6
December 30, 2015 at 07:19:23
It may have been JEdit, which has been around since the late 90's,
glad you got your problem solved.

MIKE

http://www.skeptic.com/


Report •

Ask Question