I am trying to match (case insenstive) the following two lines with a single regular expression, but somehow it doesn't work using boot regex:
NET INCOME PER COMMON SHARE:
Basic .................................................. $
4.38 $ 3.90 $ 3.37
where:
1) there might be spaces before "NET INCOME PER COMMON SHARE"
2) there might be spaces after "NET INCOME PER COMMON SHARE"
3) the semicolon might be optional
^(\\s*)?Net income per common share:?(\\s*)?\\r\\n( *)?basic
Any one has suggestions?
/Winson