#!/usr/bin/perl -w use strict; my $test = '<p>this is some<1p> paragraph</p>'; $test =~ s/<.?p>//g; #s/<.??p>//g; #also ok print "$test\n"; __END__ prints: this is some paragraph
In reply to Re: simple replace question
by Marshall
in thread simple replace question
by jck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |