regex question

Ken Ray kray at sonsothunder.com
Sun May 18 13:12:14 EDT 2008


> Does anyone have a regex to remove any text between parenthesis
> (including the
> parenthesis) ?

How about this:

  put replaceText(tText,"\(.*\)","") into tText

You may need to deal with extra spaces left behind by removing this stuff,
but it should work.

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/





More information about the use-livecode mailing list