Feral_Shade has asked for the wisdom of the Perl Monks concerning the following question:
I know I need to do something like the following:
Could someone please tell me how I could do this? Thanks.if($string =~ /^<input type='text'/) { #place value="" attribute somewhere before the > }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pattern Matching and replacement
by tachyon (Chancellor) on Apr 14, 2003 at 02:16 UTC | |
by cees (Curate) on Apr 14, 2003 at 05:14 UTC | |
|
Re: Pattern Matching and replacement
by dws (Chancellor) on Apr 14, 2003 at 02:42 UTC | |
|
Re: Pattern Matching and replacement
by The Mad Hatter (Priest) on Apr 14, 2003 at 02:18 UTC | |
|
Re: Pattern Matching and replacement (tokeparser to the rescue)
by Aristotle (Chancellor) on Apr 14, 2003 at 10:53 UTC |