Displaying page
of
pages;
Items to
Title |
Test
Details
South African Cell Phone Number
|
Expression |
(^0[87][23467]((\d{7})|( |-)((\d{3}))( |-)(\d{4})|( |-)(\d{7})))
|
Description |
only allows valid cell phones from south african service providers. to date i havent seen a cell phone number starting 079 or 089 but i think the networks might support it...
|
Matches |
0848298477 | 084 829 8477 | 084-829 8477
|
Non-Matches |
084829 8477
|
Author |
Rating:
Chris Morton
|
Title |
Test
Details
south african phone number
|
Expression |
[0](\d{9})|([0](\d{2})( |-)((\d{3}))( |-)(\d{4}))|[0](\d{2})( |-)(\d{7})
|
Description |
validates south african phone numbers
|
Matches |
0333872119 | 033 386162 | 074 101 2850
|
Non-Matches |
033386 2612
|
Author |
Rating:
Chris Morton
|
Title |
Test
Details
South African ID Number
|
Expression |
(((\d{2}((0[13578]|1[02])(0[1-9]|[12]\d|3[01])|(0[13456789]|1[012])(0[1-9]|[12]\d|30)|02(0[1-9]|1\d|2[0-8])))|([02468][048]|[13579][26])0229))(( |-)(\d{4})( |-)(\d{3})|(\d{7}))
|
Description |
Validates South African ID Numbers
|
Matches |
771125 5047 081 | 771231-5046-081 | 7712315046081
|
Non-Matches |
non valid id numbers
|
Author |
Rating:
Chris Morton
|
Title |
Test
Details
Common English Stopwords for Search Engine
|
Expression |
[\s]a[\s]|[\s]about[\s]|[\s]an[\s]|[\s]are[\s]|[\s]as[\s]|[\s]at[\s]|[\s]be[\s]|[\s]by[\s]|[\s]for[\s]|[\s]from[\s]|[\s]how[\s]|[\s]in[\s]|[\s]is[\s]|[\s]it[\s]|[\s]of[\s]|[\s]on[\s]|[\s]or[\s]|[\s]that[\s]|[\s]the[\s]|[\s]this[\s]|[\s]to[\s]|[\s]was[\s]|[\s]what[\s]|[\s]when[\s]|[\s]where[\s]|[\s]who[\s]|[\s]will[\s]|[\s]with[\s]|[\s]the[\s]|[\s]www[\s]
|
Description |
use this to produce search strings in your programs that run more efficiently. use the replace of the regex class to remove the characters from the user input then use the resulting string to query the database...
|
Matches |
matched words listed between the whitespace character class
|
Non-Matches |
the words not included in the white space character class
|
Author |
Rating:
Chris Morton
|
Title |
Test
Details
Extract Literal Text from HTML
|
Expression |
<[\w\"\ '\#\* \=\',\.\\\(\)\/\-\$\{\}\[\]\|\*\?\+\^\&\:\%\;\!]+>
|
Description |
This regular expression allows you to extract literal text from an HTML (SGML compliant?) document. i believe it will also work for XML. using code to replace the HTML element you can extract the literal text only.
|
Matches |
Any html tag with or without attributes and events
|
Non-Matches |
literal text
|
Author |
Rating:
Not yet rated.
Chris Morton
|
Title |
Test
Details
Local or International phone number with dialing code
|
Expression |
[0](\d{9})|([0](\d{2})( |-|)((\d{3}))( |-|)(\d{4}))|[0](\d{2})( |-|)(\d{7})|(\+|00|09)(\d{2}|\d{3})( |-|)(\d{2})( |-|)((\d{3}))( |-|)(\d{4})
|
Description |
allows validation of phone numbers in different formats, including local dialing code (eg 033 or 076) or international dialing code in the formats +12 or 0012 or 0912.
|
Matches |
073-386-2612 , 0443862612 , 076 858 7777 , +27 76 858 7777 , 0027 765877777 , 0956 33 8881234
|
Non-Matches |
invalid numbers
|
Author |
Rating:
Chris Morton
|
Displaying page
of
pages;
Items to