http://qs321.pair.com?node_id=1218472


in reply to Re^2: Regex for outside of brackets
in thread Regex for outside of brackets

My goal wasn't particularly to force them all to the same output. I'm yet to be sure what output OP wants beyond the single case of input. It was to demonstrate that there are multiple ways to do things, none of which are a single regular expression match. Thanks for helping expand on that.