It works fine, but can not cope with some expression, eg.: '<?xml version="1.0" encoding="UTF-8"?>' Any idea?while ( $file =~ /(<[^>]*>)/g ) { # print "'$1'\n"; $file =~ s/$1//g; }
In reply to s/// don't delete matching phrase by ChevLucas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |