| Title |
Test
Find
Days of the week
|
| Expression |
^(Sun|Mon|(T(ues|hurs))|Fri)(day|\.)?$|Wed(\.|nesday)?$|Sat(\.|urday)?$|T((ue?)|(hu?r?))\.?$ |
| Description |
This RE matches Days of the week or their abbreviations. |
| Matches |
Sunday | Mon | Tu |
| Non-Matches |
day | Wedday | Payday |
| Author |
Rating:
Michael Ash
|
| Source |
|
| Your Rating |
|
Title: Thanks
Name: Darren Neimke
Date: 9/11/2003 6:59:45 PM
Comment:
Thanks Michael, after seeing your pattern, I decided to post my own version to this problem :-)
http://www.regexlib.com/REDetails.aspx?regexp_id=386