gagaliya
asked on
regular expression question, need expert help
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)
thank you
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)
thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok
ASKER