Displaying page
of
pages;
Items to
Title |
Test
Details
Phone Number Match
|
Expression |
\d{3})[- .]?(\d{3}[- .]?\d{4}
|
Description |
The above regex matches any phone number of the format (XXX-XXX-XXXX). (With or without hyphens)
|
Matches |
001-233-4322, 0012334322, 001 233 4322
|
Non-Matches |
001_233_4322
|
Author |
Rating:
Shankar(sh4nx0r)
|
Title |
Test
Details
First Line Grabber
|
Expression |
^(.*)
|
Description |
The above expression pulls the first line of any large text or sentence.
Eg.
The car is speeding at 190mph.<br or \n or nextline>
The car got crashed.
|
Matches |
The car is speeding at 190mph.
|
Non-Matches |
.
|
Author |
Rating:
Not yet rated.
Shankar(sh4nx0r)
|
Title |
Test
Details
End String Matcher
|
Expression |
start\s*([^$]*)\s*(.*?)
|
Description |
Matches a string and grabs all data till the end of the string/text/sentence.
Eg.
I wonder why all programming languages start with a hello world program !!
|
Matches |
start with a hello world program !!
|
Non-Matches |
.
|
Author |
Rating:
Not yet rated.
Shankar(sh4nx0r)
|
Title |
Test
Details
Specific End String Matcher
|
Expression |
wonder\s*([^$]*)\s*with
|
Description |
Matches and returns the text provided the match string and the end string. Eg. I wonder why all programming languages start with a hello world program !!
|
Matches |
wonder why all programming languages start with
|
Non-Matches |
.
|
Author |
Rating:
Shankar(sh4nx0r)
|
Title |
Test
Details
Month Year Match
|
Expression |
((?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)?|May|Jun(?:e)?|Jul(?:y)?|Aug(?:ust)?|Sep(?:tember)?|Sept|Oct(?:ober)?|Nov(?:ember)?|Dec(?:ember)?))(\s+)[0-9]{2,4}
|
Description |
Matches month and year in the specified format.
|
Matches |
Apr 2003 January 2019 Jun 1992
|
Non-Matches |
.
|
Author |
Rating:
Shankar(sh4nx0r)
|
Displaying page
of
pages;
Items to