in reply to Re: Regex To remove text between parentheses
in thread Regex To remove text between parentheses

As a quick, cludgy fix; try (.+) instead of (.*)
Update: OK, so this headache is affecting my mental powers -- ignore that previous bit and instead look at the answers invloving negated classes (^)*) and the like - In my defence, I said that was what you're supposed to do below:

As a better fix, create a character class that doen't include brackets, and use that instead...

--
RatArsed, in search of enlightment and asprin.

  • Comment on Re: Re: Regex To remove text between parentheses