moving words to end of line
Posted: Mon Jun 05, 2006 12:35 pm
ive got several lines that all start with the same word, for example:
Noun: stratum (strata)
1. One of several parallel...
Noun: culvert
1. A transverse and totally... etc.
what i want to do is move the first word(noun in this case) to the end of the first line, placing it behind "(strata)" in the first example and behind "culvert" in the second. is that even possible with regular expressions or should i look around for other solutions?
Noun: stratum (strata)
1. One of several parallel...
Noun: culvert
1. A transverse and totally... etc.
what i want to do is move the first word(noun in this case) to the end of the first line, placing it behind "(strata)" in the first example and behind "culvert" in the second. is that even possible with regular expressions or should i look around for other solutions?