Page 1 of 1

Replace all except

PostPosted: Wed Mar 01, 2017 4:47 pm
by Dick
Hi

I'm new to this forum and I'm curious how I can replace parts of a name string except a special combination of characters. My problem is that I want to replace the . in strings but not in DD 5.1 of DD2.0
For example: Happy.Feet.DD5.1 with the command REPLACE . WITH space becomes: Happy Feet DD5 1 and I want: Happy Feet DD5.1

thanks!
Dick

Re: Replace all except

PostPosted: Wed Mar 01, 2017 6:34 pm
by therube
Only thing I can think of is to do two replaces in succession.

3:Replace
Code: Select all
Replace:  .
With:  {space}

Replace:  DD5 1
With:  DD5.1

Re: Replace all except

PostPosted: Wed Mar 01, 2017 8:11 pm
by Dick
Hi therube,

Thank you for your answer!
Yes, that's exactly what I do, but I am wondering if there is no more elegant solution.

Kind regards,

Dick