in reply to Re^3: strip out anything inbetween brackets
in thread strip out anything inbetween brackets

Ok, it returns "woaaa )"

What should it do? It removes everything "between" parens, but nothing else. If something has to be done with unmatched parens, we're talking about a diferent task, aren't we? =o)

Replies are listed 'Best First'.
Re^5: strip out anything inbetween brackets
by tlm (Prior) on Apr 05, 2005 at 15:57 UTC

    Yes. After I sent that reply I realized that you probably had something else in mind other than the original problem of removing the parens and "everything in between". The latter would arguably require getting rid of the first parens and everything after. Please see my update. As your question suggests, the problem needs defining; what exactly should "everything in between" be defined?

    the lowliest monk