in reply to Re: strip out anything inbetween brackets
in thread strip out anything inbetween brackets
#!/usr/local/bin/perl local $_="woaaa (nested (parens))"; while (s/\([^()]*\)//){ print "$_\n"; } __OUTPUT__ ouu (nested ) ouu
But it's possible that I'm missing something...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: strip out anything inbetween brackets
by tlm (Prior) on Apr 05, 2005 at 15:32 UTC | |
by deibyz (Hermit) on Apr 05, 2005 at 15:43 UTC | |
by tlm (Prior) on Apr 05, 2005 at 15:57 UTC |