Ofcourse, if your actual input contains other tags than what your sample input shows, you'll get funny results.my $string = "-<ID>A8W11200031</ID>"; $string =~ s/<.+?>//g; print $string . "\n";
In reply to Re: Help for regex
by FloydATC
in thread Help for regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |