Simple regex problem (I think so anyway)
Posted: Tue Dec 29, 2009 11:35 am
I'm so hopeless with regex. Was hoping someone could give me a helping hand. 
I've got a file with various strings on each line. I want to add a new line character after each of the following patterns. (nxt is a literal string and N is an integer)
Any ideas?
And thanks for any suggestions.
I've got a file with various strings on each line. I want to add a new line character after each of the following patterns. (nxt is a literal string and N is an integer)
Code: Select all
Any number of varying characters-NNNNN
Any number of varying characters-NNNNN-NN
nxt