Replacing question

Hallo! I´m using tanis´ & Leo´s "Title Case" replacing script, it works perfectly. This led me to the question, is there a way to change following structures:

for example replacing xxx-xxxxx-xxx by xxx - xxxxx - xxx?
With other words, putting some blanks before & after some "-".

Edit: i found that already, it was simply replacing "-" by " - "
but an other question maybe:

how can "xyz xxxxx" (where xyz is a number) replaced by "xyz - xxxxx"?

So "127 blaaa", "128 blaaa" etc. would be replaced by "127 - blaaa", "128 - blaaa" & so on? This is, btw, very interesting :slight_smile:

Easy :slight_smile:

Regular expression rename from:

([0-9]+) (.*)

to

\1 - \2

[quote="nudel"]Easy :slight_smile:

Regular expression rename from:

([0-9]+) (.*)

to

\1 - \2[/quote]

yeah, thank you very much! works perfectly. :smiley: