in reply to Re^2: regexp over multiple lines
in thread regexp over multiple lines
Thanks for the reply :-)
So, if my file looked like this:
line1data line2data line3data line4data <homePrice> 1.91</homePrice> line7data line8data line9data
...and I was forced to process the file line by line in a for loop, what regexp would I use (if any are possible) to extract the value of 1.91 by matching both lines?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: regexp over multiple lines
by JavaFan (Canon) on Aug 03, 2011 at 08:31 UTC | |
by liverpaul (Acolyte) on Aug 03, 2011 at 09:12 UTC |