Hi All
I am using regular expressions to determine how to group certain data. I've included an example of the data below.
USD_SPTR_2Y_725.5_PUT_EUROPEAN_09Q1|USD||European|
CAD_NDX_10Yx1Y_5.5_PUT_EUROPEAN_09Q1|CAD||European|
The regular expressions I am using is as follows and this is executed from a script but the search pattern is below.
[A-Z]{3}_SPTR..*_PUT_EUROPEAN,EQPUT,
This matches the first line and works fine.
What I would like is to have a similar regexp search but one that will exclude lines that include SPTR so this will pick up the second line and group it differently.
Any help as always is appreciated.
Thanks