Replacetext of any characters between parentheses with a space
paul at researchware.com
Thu Jun 10 09:59:42 EDT 2021
On 6/9/2021 1:10 PM, Paul Dupuis via use-livecode wrote:
> on mouseup
> put field "import" into timport
> put replacetext(timport,"(.*)"," ") into field "import"
> end mouseup
I think parenthesis are are reserved character in regex, so them may
need to be escaped with a backslash like: (my regex is a little rusty)
put field "import" into timport
put replacetext(timport,"\(.*\)"," ") into field "import"
More information about the use-livecode