filter? replace? wildcard? reg exp? help please!

J. Landman Gay jacque at hyperactivesw.com
Fri May 12 17:31:22 EDT 2017


On 5/12/17 3:37 PM, Thierry Douez via use-livecode wrote:
> This should be a one-line command!
> I've typed this post with the new Opera browser....
> ???
>
>
> Another try with 2 lines:
>
> put "1 [A] 2 [B] 3." into tText
> put  removeBrackets( tText)
>
> ​Better?

Yes. It's odd that a browser would reformat it that way.

I see that the middle section is omitted with my regex, so I forgot to 
make it non-greedy. But I've forgotten how to do that, something about a 
question mark, I think?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com





More information about the use-livecode mailing list