RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 4
Title Test Details Telephone Number
Expression
^([(]?[+]{1}[0-9]{1,3}[)]?[ .\-]?)?[(]?[0-9]{3}[)]?[ .\-]?([0-9]{3}[ .\-]?[0-9]{4}|[a-zA-Z0-9]{7})([ .\-]?[/]{1}[ .\-]?[0-9]{2,4})?$
Description
An inefficient number validator. PHP and JavaScript compatible. Dashes [-] can be replaced by " " or "." Support for extention /000
Matches
+000-000-000-0000 | (+000) 000 000 0000 | (+000) (000) 000-0000 | (000) 000-0000 | +1-800-0000000 | +1-800-RLYCOOL
Non-Matches
1-800-0000000 | 1-800-RLYCOOL
Author Rating: The rating for this expression. mAsT3RpEE
Title Test Details RFC822 Email Address (2011)
Expression
^(?!(?:(?:\\x22?\\x5C[\\x00-\\x7E]\\x22?)|(?:\\x22?[^\\x5C\\x22]\\x22?)){255,})(?!(?:(?:\\x22?\\x5C[\\x00-\\x7E]\\x22?)|(?:\\x22?[^\\x5C\\x22]\\x22?)){65,}@)(?:(?:[\\x21\\x23-\\x27\\x2A\\x2B\\x2D\\x2F-\\x39\\x3D\\x3F\\x5E-\\x7E]+)|(?:\\x22(?:[\\x01-\\x08\\x0B\\x0C\\x0E-\\x1F\\x21\\x23-\\x5B\\x5D-\\x7F]|(?:\\x5C[\\x00-\\x7F]))*\\x22))(?:\\.(?:(?:[\\x21\\x23-\\x27\\x2A\\x2B\\x2D\\x2F-\\x39\\x3D\\x3F\\x5E-\\x7E]+)|(?:\\x22(?:[\\x01-\\x08\\x0B\\x0C\\x0E-\\x1F\\x21\\x23-\\x5B\\x5D-\\x7F]|(?:\\x5C[\\x00-\\x7F]))*\\x22)))*@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-z0-9]+(?:-[a-z0-9]+)*\\.){1,126}){1,}(?:(?:[a-z][a-z0-9]*)|(?:(?:xn--)[a-z0-9]+))(?:-[a-z0-9]+)*)|(?:\\[(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){7})|(?:(?!(?:.*[a-f0-9][:\\]]){7,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?)))|(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){5}:)|(?:(?!(?:.*[a-f0-9]:){5,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\\]))$
Description
RFC822 email address validator. A bit outdated. Please confirm with current RFC document. PHP and JavaScript compatible.
Matches
See http://code.iamcal.com/php/rfc822/tests/
Non-Matches
See http://code.iamcal.com/php/rfc822/tests/
Author Rating: The rating for this expression. mAsT3RpEE
Title Test Details Name
Expression
^[\wàèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛäëïöüÿÄËÏÖÜŸåÅæÆãñõÃÑÕçÇðÐøØœšŠŒß¿¡]{1}[\w àèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛäëïöüÿÄËÏÖÜŸåÅæÆãñõÃÑÕçÇðÐøØœšŠŒß¿¡\']{4,62}$
Description
Validate Firstname or Lastname (PHP and JavaScript Compatible). Support for Local characters. Max Length 63 characters.
Matches
Name | Name's | Nàmé | Name Jr
Non-Matches
N_ame | Name"s
Author Rating: The rating for this expression. mAsT3RpEE
Title Test Details Full Name / Company Name
Expression
^[\wàèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛäëïöüÿÄËÏÖÜŸåÅæÆãñõÃÑÕçÇðÐøØœšŠŒß¿¡]{2,24}[_ \-.]{1}[\w àèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛäëïöüÿÄËÏÖÜŸåÅæÆãñõÃÑÕçÇðÐøØœšŠŒß¿¡\']{1,32}$
Description
Matches two words or One company name. (PHP and JavaScript compatible). Support for local characters.
Matches
Firstname Lastname | Company | Company's Name | Fìrstnâmé_Làstnámè | Fìrstnâmé.Làstnámè
Non-Matches
_Firstname L_astname | Company"s Name
Author Rating: The rating for this expression. mAsT3RpEE
   Displaying page 1 of 1 pages; Items 1 to 4

Copyright © 2001-2018, RegexAdvice.com | ASP.NET Tutorials