for example
if i have 200 hundred line file .i want to match the lines in between the satarting word and the ending word.that is i want to match the multiple lines using perl commands.
How to pattern match the multiple lines using perl?
use the 'g' modifier. for example ~/^first.*last$/g
Reply:look this is the correct answer. %26amp;@)%$))(#%26amp;%26amp;#^%%@%26amp;@((#) thank you very much
Reply:use the 'g' modifier. for example ~/^first.*last$/g
Reply:perldoc perlre
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment