Programming Windows D Examples are now Online!

Jacob Carlborg doob at me.com
Wed Jun 22 23:25:51 PDT 2011


On 2011-06-23 07:36, Andrej Mitrovic wrote:
> Hmm it's a bit problematic though:
>
> szLabel.indexOf("(")
> szLabel.indexOf""
>
> Well I'll just have to manually merge these changes then one by one.
> Well it's better than nothing.

If every string looks like this:

TEXT ("Acoustic Bass Drum")

Then you can use a regexp like this:

TEXT \("(.+?)"\)

And replace with:

"$1"

You don't need a script for this, just put it in an editor with search & 
replace with support for regexp.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list