regular expression question, need expert help
Posted on 2009-04-16
Hello, i need a regular expression expert help on the following, have tried many combinations none seem to work.
I have a string in the format "blabla anythinggoes Jun09B blabla"
need 2 regular expressions that read this string and returns
1) 06 (logic: find Jun then convert it to 06, need all 12 months, ie Jan becomes 01, Feb becomes 02 etc..)
2) 09 (logic: just return the 09 in Jun09B, if it's Jun10D, it will return 10, if it's May08Z, it will return 08, etc..just return the 2 digit)