
Gustaf
New User
Feb 14, 2013, 2:17 AM
Post #1 of 2
(137 views)
|
|
Print text between <source> and </source>
|
Can't Post
|
|
Hello, I'm new to perl and I would like to extract text between to strings. I would like to print all texts between <source> and </source> in a text file. The <source> and </source> could be on different rows. Ex1 ==== <source>Test</source> => print Text Ex2 ==== <source>Test1 av test1</source> <source>Test2</source> => Print Test1 av test1 Test2 Thanks Gustaf
|