Express Expression: ^ ([a-za-z0-9_\-\.] +) @ (\[[0-9]{1,3}\. [0-9] {1,3}\. [0-9] {1,3}) | ([A-za-z0-9\-\.] +))\. ([a-za-z]{2,3}| [0-9] {1,3}) (\]?) $ rating:10 [Rate]
Description:email validator that adheres directly to the specification for e-mail address naming. It allows for ...
Matches: [asmith@mactec.com], [foo12@foo.edu], [bob.smith@foo.tv] [more Details]
Non-matches: [Joe], [@foo. com], [a@a] [Test Expression]
Submitted By:andy Smith (asmith@mactec.com)
Expression: ^\d{1,2}\/\d{1,2}\/\d{4}$ rating:4 [Rate]
Description:this Regular Expressions matches dates of the form xx/xx/yyyy where XX can be 1 or 2 digits long ...
Matches: [4/1/2001], [12/12/2001], [55/5/3434] [more Details]
Non-matches: [1/1/01], [a few], [1-1-2001] [Test Expression]
Submitted By:steven Smith (ssmith@aspalliance.com)
Expression:/\*[\d\d]*?\*/rating:2 [Rate]
Description:if you need to extract or remove any/* * Sytle comments from any Java, JavaScript, C, C + +, CSS, E ...
Matches: [/* my comment//], [/* My multiline comment], [/* My nested comment/] [more Details]
Non-matches: [* * anything here/*], [anything between 2 seperate comments], [\* *\] [Test Expression]
Submitted By:chris Craft (cjcraft@mail.com)
Expression: ^\d{5}-\d{4}|\d{5}| [A-z]\d[a-z] \d[a-z]\d$ rating:2 [Rate]
Description:this expression matches three different formats of postal codes:5 US ZIP code, 5 digit US digit ...
Matches: [44240], [44240-5555], [g3h 6a3] [more Details]
Non-matches: [Ohio], [ABC], [G3H6A3] [Test Expression]
Submitted By:steven Smith (ssmith@aspalliance.com)
Expression: ^ (25[0-5]|2[0-4][0-9]|[ 0-1]{1}[0-9]{2}| [1-9] {1} [0-9] {1}| [1-9]) \. (25[0-5]|2[0-4][0-9]| [0-1] {1} [0-9] {2}| [1-9] {1} [0-9] {1}| [1-9]|0) \. (25[0-5]|2[0-4][0-9]| [0-1] {1} [0-9] {2}| [1-9] {1} [0-9] {1}| [1-9]|0) \. (25[0-5]|2[0-4][0-9]| [0-1] {1} [0-9] {2}| [1-9] {1} [0-9] {1}| [0-9]) $ rating:2 [Rate]
Description:regexp for validating the format of IP Addresses. This works great with the ASP.net regularexpressi ...
Matches: [127.0.0.1], [255.255.255.0], [192.168.0.1] [more Details]
Non-matches: [1200.5.4.3], [ABC.DEF.GHI.JKL], [255.foo.bar.1] [Test Expression]
Submitted By:g Andrew Duthie (graymad@att.net)
Expression: ^\w+[\w-\.] *\@\w+ ((-\w+) | ( \w*)) \. [A-z] {2,3}$ rating:2 [Rate]
Description:email validation. With this short expression your can validate for proper email format. It ' s short ...
Matches: [bob-smith@foo.com], [bob.smith@foo.com], [bob_smith@foo.com] [more Details]
Non-matches: [-smith@foo.com], [. smith@foo.com], [smith@foo_com] [Test Expression]
Submitted By:eric Lebetsamer (edl2@hotmail.com)
Expression: ^#? ([a-f]| [a-f]| [0-9]) {3} ([a-f]| [a-f]| [0-9]) {3})? $ rating:2 [Rate]
Description:tests for valid HTML hexadecimal color codes. The # symbol is optional. And it'll except either t ...
Matches: [#00ccff], [#039], [FFFFCC] [more Details]
Non-matches: [Blue], [0x000000], [#ff000] [Test Expression]
Submitted By:chris Craft (cjcraft@mail.com)
Expression: (\w+) \s+\1 rating:1 [Rate]
Description:this expression uses a backreference to find occurrences of the the same word twice in a row (separated ...
Matches: [Hubba Hubba], [Go go], [more Details]
Non-matches: [May Day], [Gogo], [1212] [Test Expression]
Submitted By:steven Smith (ssmith@aspalliance.com)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service