7976
General Software Discussion / Re: "Renaming" a list of names (not files)
« Last post by tomos on January 11, 2010, 01:04 PM »Well, progress indeed
all methods working
First with RegEx:
I downloaded both Notepad++ & 2 (in portable formats) and tried both
It's like magic - zap zap & everything's reversed
I swear I was staring at the screen with my mouth open :O
Tom Jones Singer
becomes
Singer Tom Jones
+
Jones Singer
becomes
Singer Jones
I also wanted to strip out the last part (so I would be left with the singer's name in the above examples)
so, in Notepad++
Find: (.+) (.+)
Replace: \1
worked a treat
I can see why people like regular expressions - thanks for all the help again people
=============================================================
Skwire, that script works perfectly too
- I was initially getting error messages, but because I did a 'save as' from the copy or paste box
which of course was html...
I will use both methods as I'm getting bits of lists sent to me in dribs & drabs & I need to be able to sort (again using the example above) by 'Name' and by 'Occupation'
all methods working First with RegEx:
I downloaded both Notepad++ & 2 (in portable formats) and tried both
It's like magic - zap zap & everything's reversed
I swear I was staring at the screen with my mouth open :OTom Jones Singer
becomes
Singer Tom Jones
+
Jones Singer
becomes
Singer Jones
I also wanted to strip out the last part (so I would be left with the singer's name in the above examples)
so, in Notepad++
Find: (.+) (.+)
Replace: \1
worked a treat
I can see why people like regular expressions - thanks for all the help again people
=============================================================
Skwire, that script works perfectly too
- I was initially getting error messages, but because I did a 'save as' from the copy or paste box
which of course was html... I will use both methods as I'm getting bits of lists sent to me in dribs & drabs & I need to be able to sort (again using the example above) by 'Name' and by 'Occupation'

Recent Posts


] with a lot of other changes)