I have an ANT script that will have a property whose value can be one or more lines, for example. property
prop1= A_12.1_REL_B121000_10_18_2011.1700 A_12.1_REL_B121001_10_25_2011.6059 A_12.1_REL_B121001_10_25_2011.2201 A_12.1_REL_B121001_10_25_2011.2014
Please see that all these lines end with CRLF, and the end of the file is another CRLF. Now I just need to select the last line using a regular expression. The number of rows may be less or more, for example
prop1= A_12.1_REL_B121000_10_18_2011.1700
In the second case, I need to select this single line. I was looking for old posts but couldn't find anything specific. Any pointers?
source share