From: Wybo Dekker Date: 2012-03-04T06:39:45+09:00 Subject: Re: regexp removing {xxx ... } On 2012-03-02 15:47, Bartosz Dziewo��ski wrote: > Let's start with simplest regex: > /\{\\large [^{}]+\}/. This works for your second example, but fail for > first. But we can fix it: > consider this regex: /\{\\large(?:[^{}]+|\{[^}]+\})+\}/. Thanks! This is very useful, albeit a braintwister... And I like the http://regexpal.com/ -- Wybo