in reply to search and replace
#!/usr/bin/perl use strict; while (<DATA>) { my ($word) = /\>(.*)\</; print "<con><p>$word</p></con><code> <br/>\n"; } __DATA__ <p>This is param1</p> <p>This is second para</p> <p>this is param3</p>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: search and replace
by Anonymous Monk on Nov 05, 2009 at 05:07 UTC | |
by Your Mother (Archbishop) on Nov 05, 2009 at 05:16 UTC | |
by Anonymous Monk on Nov 05, 2009 at 06:13 UTC | |
by Anonymous Monk on Nov 05, 2009 at 16:09 UTC | |
by gmargo (Hermit) on Nov 05, 2009 at 16:54 UTC |