EDN Admin
Well-known member
Hi Guys,
I have one problem regarding the regular expression.
I have to fetch the data (8 chars) from the text which starts after "EFF:" anywhere between 1-4 lines but only the first match. the text can have more than 10 lines. let me know how to restrict the regex for reading upto only 4 lines. (here enter is the end of line) Thanks in advance
Text:
H 01/05/2006 16:34:11 MUNI/CORP 2 16706 1
........................................................... ENT:01/05/062006)
DEAL#: 1: TEXT#:1928906: REMARKS:CUSIP # CHG : IND:=N M: <font style="background-color:#ff0000 EFF</font>:05/01/092009)
TARGET:6497168M2: :NEW YORK C: INIT:64971K6F8: :9999999999: EXP:05/01/092009)
CASH:1010.00000: :A: STATE:NY: T.AGENT:M012: INFO: <font style="background-color:#ff0000 EFF</font>: : MAT:05/01/292029)
RATE: 5.00000: : : : 1.00000:MTC: : PRATE: 0.000000: PRO:12/28/052005)
DESC. 1: NEW YORK CITY TRANSITIONAL FINANCE AUTHORITY
DESC. 2: FUTURE TAX SECOND REVENUE BONDS
DESC. 3: SERIES 1999 C MBIA-IBC
<font style="background-color:#ff0000 EFF</font>:asdwetrt
View the full article