Displaying page
of
pages;
Items to
Title |
Test
Details
Block common public domains & validate email
|
Expression |
\w+([-+.]\w+)*@(?!(hotmail|gmail|yahoo|msn|excite|lycos|aol|live)\.com$)\w+([-.]\w+)*\.\w+([-.]\w+)*
|
Description |
Should you need to validate that an email address is correctly formmatted and need to block hotmail and gmail, this expression will do it for you. Thanks to Sergei Z from regexadvice.com
|
Matches |
|
Non-Matches |
|
Author |
Rating:
Not yet rated.
Dan Brewerton
|
Title |
Test
Details
Find two words, any characters, then number
|
Expression |
(Word1|Word2).*?(10|[1-9])
|
Description |
If you have one or more words that you are searching for, random text and then a number at the end from 0 to 10, this regex should work.
|
Matches |
Word1: I need to extract this substring starting with testing. 8
|
Non-Matches |
This is a test, again I am test
|
Author |
Rating:
Not yet rated.
Dan Brewerton
|
Displaying page
of
pages;
Items to