filter? replace? wildcard? reg exp? help please!
J. Landman Gay
jacque at hyperactivesw.com
Fri May 12 14:56:05 EDT 2017
On 5/12/17 2:08 AM, Thierry Douez via use-livecode wrote:
> Hi,
>
>
>
>>
>> function removeBrackets pString
>> return replacetext(pString,"\[.*\]",empty)
>> end removeBrackets
>>
>>
>
>
> What would be the result of next line:?
>
> *put* removeBrackets
> (
> "1 [A] 2 [B] 3."
> )
An error. I did warn about my limited regex skills. :) So what should it be?
Also, that's a non-standard format for a function. I've never seen it
written that way before.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list