Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^(?<From>(JANUARY|FEBRUARY|MARCH|APRIL|MAY|JUNE|JULY|AUGUST|SEPTEMBER|OCTOBER|NOVEMBER|DECEMBER|[ ]|,|/|[0-9])+)(-|–|:|TO)?(?<To>(JANUARY|FEBRUARY|MARCH|APRIL|MAY|JUNE|JULY|AUGUST|SEPTEMBER|OCTOBER|NOVEMBER|DECEMBER|[ ]|,|/|[0-9]|PRESENT)+)+(:)*
|
Description |
This regular expression will match date given in any format expcept (mmm). Its speciality is that it divides dates into <from> part and <to> part. Use Groups to access these parts.
e.g. JANUARY 1998 TO JUNE 2000
<From>="JANUARY 1998"
<to>="JUNE 2000"
|
Matches |
JANUARY 2000 | 19-01-2000 | 12/11/2000
|
Non-Matches |
"Hello it is ordinary text" | "non -date text"
|
Author |
Rating:
Not yet rated.
Manpreet Grewal
|
Title |
Test
Details
Pattern Title
|
Expression |
(?<Telephone>([0-9]|[ ]|[-]|[\(]|[\)]|ext.|[,])+)([ ]|[:]|\t|[-])*(?<Where>Home|Office|Work|Away|Fax|FAX|Phone)|(?<Where>Home|Office|Work|Away|Fax|FAX|Phone|Daytime|Evening)([ ]|[:]|\t|[-])*(?<Telephone>([0-9]|[ ]|[-]|[\(]|[\)]|ext.|[,])+)|(?<Telephone>([(]([0-9]){3}[)]([ ])?([0-9]){3}([ ]|-)([0-9]){4}))
|
Description |
Its extracts telephone numbers
|
Matches |
(913) 451-6461
|
Non-Matches |
3523d3adb3
|
Author |
Rating:
Not yet rated.
Manpreet Grewal
|
Title |
Test
Details
Pattern Title
|
Expression |
(?<http>(http:[/][/]|www.)([a-z]|[A-Z]|[0-9]|[/.]|[~])*)
|
Description |
This is HTTP Url extractor
|
Matches |
http://www.abc.com | www.mpgrewal.tk
|
Non-Matches |
noida-India | crazy123
|
Author |
Rating:
Manpreet Grewal
|
Title |
Test
Details
Pattern Title
|
Expression |
(?<email>(?![ ])(\w|[.])*@(\w|[.])*)
|
Description |
E-mail addresses matcher
|
Matches |
|
Non-Matches |
arnoldschwarz
|
Author |
Rating:
Not yet rated.
Manpreet Grewal
|
Displaying page
of
pages;
Items to