pysome has asked for the wisdom of the Perl Monks concerning the following question:
After substitution,I want to get $str is :my $str = '<a code=TXT> abc TXT </a> <text code=TXT> efg TXT </text> < +input s=TXT> hig TXT</input>';
Thanks in advance.<a code=TXT> abc FOO </a> <text code=TXT> efg FOO </text> <input s=TXT +> hig FOO</input>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Construct a REGEX by selected substitution
by planetscape (Chancellor) on Sep 29, 2007 at 09:01 UTC | |
|
Re: Construct a REGEX by selected substitution
by jeanluca (Deacon) on Sep 29, 2007 at 08:11 UTC | |
by pysome (Scribe) on Sep 29, 2007 at 08:37 UTC | |
by GrandFather (Saint) on Sep 29, 2007 at 09:07 UTC | |
by jeanluca (Deacon) on Sep 29, 2007 at 09:02 UTC | |
|
Re: Construct a REGEX by selected substitution
by sanPerl (Friar) on Sep 29, 2007 at 17:21 UTC | |
by pysome (Scribe) on Sep 30, 2007 at 02:11 UTC | |
|
Re: Construct a REGEX by selected substitution
by Anonymous Monk on Sep 29, 2007 at 06:28 UTC | |
|
Re: Construct a REGEX by selected substitution
by pysome (Scribe) on Sep 29, 2007 at 10:12 UTC |