jck has asked for the wisdom of the Perl Monks concerning the following question:
it does replace the beginning tag, but not the ending tag. i know this should be incredibly simple, but can't figure out what i'm doing wrong....$testtext =~ s/(^<p>|<\/p>$)//;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: simple replace question
by graff (Chancellor) on Jul 06, 2009 at 13:55 UTC | |
|
Re: simple replace question
by JavaFan (Canon) on Jul 06, 2009 at 13:47 UTC | |
by jck (Scribe) on Jul 09, 2009 at 22:51 UTC | |
|
Re: simple replace question
by poolpi (Hermit) on Jul 06, 2009 at 19:32 UTC | |
|
Re: simple replace question
by morgon (Priest) on Jul 06, 2009 at 17:02 UTC | |
by jck (Scribe) on Jul 09, 2009 at 23:21 UTC | |
|
Re: simple replace question
by stevemayes (Scribe) on Jul 06, 2009 at 17:19 UTC | |
|
Re: simple replace question
by Marshall (Canon) on Jul 07, 2009 at 08:27 UTC |