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

Please support RegExLib Sponsors

Sponsors

Advanced Search

Keywords

Category

Minimum Rating

Results per Page

Search Results: 9091 regular expressions found.

Change page:   |    Displaying page 428 of 455 pages; Items 8541 to 8560
Title Test Details Felxible US address match
Expression
^\d+?[A-Za-z]*\s\w*\s?\w+?\s\w{2}\w*\s*\w*$
Description
Flexible match for valid US street addresses requiring at least some street number with or without a unit letter followed by a space, then either a modifier like N, W, West, etc, or no modifier, then another space, followed by the street name, then a space folowed by the street type abreviated or spelled out (ave or avenue). Can accept Apt number at the end. Does not match addresses with no number, improperly formatted numbers, or no street type.
Matches
3 Olive Lane | 1234 SE Franklin St | 34 East Avenue Apt 54 | 23b Orange Lane Apt 12 | 55 Martingale St Apt A
Non-Matches
West Avenue | 22b2 East St | 22 Olive | Apt 5
Author Rating: Not yet rated. Logan Bertram
Title Test Details Alphanumeric Password with Special Character Support
Expression
(?=^.{7,20}$)(?=.*\d)(?=.*[a-zA-Z])(?!.*\s)[0-9a-zA-Z*$-+?_&=!%{}/'.]*$
Description
Password length must be between 7 and 20 characters, include at least one alphabetic and one numeric character, and may include some special characters.
Matches
test1234 | test$%9* | Test$123
Non-Matches
testing | 12345678 | !@#$%^&*
Author Rating: The rating for this expression. Mike Pillittere
Title Test Details [INI] Value from section and key
Expression
[^]*\[section\][^\[]*\nkey=(.+)[^]*
Description
This regular expression provides a way to get the value associated to the specified key in the specified section: replace with $1.
Matches
[section] \n key=value
Non-Matches
[section] \n [another] \n key=value
Author Rating: The rating for this expression. Luca Meloni
Title Test Details Italian mobile phone
Expression
^([+]39)?\s?((313)|(32[03789])|(33[013456789])|(34[0256789])|(36[0368])|(37[037])|(38[0389])|(39[0123]))[\s-]?([\d]{7})$
Description
This pattern matches italian mobile phone numbers: - Tim (330, 331, 333, 334, 335, 336, 337, 338, 339, 360, 363, 366, 368) - Vodafone Italia (340, 342, 345, 346, 347, 348, 349) - Wind (320, 323, 327, 328, 329, 380, 383, 388, 389) - 3 Italia (390, 391, 392, 393) - RFI (313) - virtual operators (370, 373, 377)
Matches
+393381234567 | +39 3381234567 | +39 338 1234567 | +39 338-1234567 | 3381234567 | 3381234567 | 338 1234567 | 338-1234567
Non-Matches
0039 338 1234567 | (338)1234567 | 338/1234567
Author Rating: Not yet rated. Fabrizio Peresson
Title Test Details Pattern Title
Expression
&\#x0*(0|1|2|3|4|5|6|7|8|B|C|E|F|10|11|12|13|14|15|16|17|18|19|1A|1B|1C|1D|1E|1F);
Description
Can be used to match on (and strip out) low-order non-printable ASCII characters (ASCII 0-31) from string data prior to adding to an XML document. Useful when using parsers like Microsoft's MSXML3 that strictly enforce W3C specification on allowable characters. Does not match on ASCII 9 (horiz tab), 10 (carriage return), 13 (line feed).
Matches
 | 
Non-Matches
  | �
Author Rating: Not yet rated. Matt Skone
Title Test Details Email Validation excluding free domains
Expression
^\s*[a-zA-Z0-9_%+#&'*/=^`{|}~-](?:\.?[a-zA-Z0-9_%+#&'*/=^`{|}~-])*@(?!yahoo.|hotmail.|gmail.|outlook.|aol.|email.)(?:[a-zA-Z0-9_-]+\.)*(?:[a-zA-Z]{2,9}|\[(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)])\s*$
Description
Basing this off of the DotNetNuke (DNN) email validator, I made it so I could exclude certain domain names, you should be able to add whatever domain names you want.
Matches
jack.smith@my-domain.com or jack.smith@123.249.100
Non-Matches
jack.smith@yahoo.com or jack.smith@hotmail.com
Author Rating: Not yet rated. Randy Walker
Title Test Details Pattern Title
Expression
^\.([rR]([aA][rR]|\d{2})|(\d{3})?)$
Description
RAR file extensions. Works also with '*.part01.rar' given '.rar' to be the file extension. Does not support volumes exceed 101 for s## (r99, s00, s01, ...) serie.
Matches
.RAr | .r01 | .012
Non-Matches
.rxr | .a01 | .0112
Author Rating: Not yet rated. Jack Yang
Title Test Details XML Tag
Expression
(?<STag><)[/\?\s]*(?<Prefix>\w*:)*(?<TagName>\w*)\s*(?<Attributes>(?<Attribute>((?<AttributePrefix>\w*)\s*:\s*)*(?<AttributeName>\w*)\s*=\s*(?<AttributeValue>"[^"]*"|'[^']*'|[^>\s]*)\s*)*)\s*/?(?<ETag>>)
Description
Match a start/end XML tag
Matches
<xs:complexType name="includeType" mixed="true">
Non-Matches
...
Author Rating: The rating for this expression. Jin Feng
Title Test Details Iranian license Plate
Expression
^([10-99]{2})+\s?([\u0600-\u06FF]\s{1})+\s?([100-999]{3})$
Description
Check License Plate of Iranian Cars
Matches
41 ج 143
Non-Matches
41 ج 1433
Author Rating: The rating for this expression. Ali Torki
Title Test Details Pattern Title
Expression
^0(6[045679][0469]){1}(\-)?(1)?[^0\D]{1}\d{6}$
Description
Validates Austrian Cellular Phone Numbers. Works with ONE, T-Mobile, A1, Telering and new Provider &quot;Drei&quot;. WITHOUT Country Code Verification.
Matches
0664-1234567 | 06641234567 | 0699-11234567
Non-Matches
06991-1234567 | +43650-1234567 | 07661234567
Author Rating: Not yet rated. Stefan Beylen
Title Test Details min 2 characters
Expression
^.{2,}$
Description
^.{2,}$ ^ = start of line . = any character {2,} = 2 or more characters $ = end of line
Matches
LA
Non-Matches
I
Author Rating: Not yet rated. zsnbfgop
Title Test Details Date Matching Regex
Expression
^\d?\d([./-])\d?\d\1(?:\d\d|\d{4})$
Description
Here's a super simple one for checking dates written numerically, MM/DD/YYYY. Separators can be "/", "-", or "." and must be the same. Because of it's simplicity it will allow dates that don't exist but that doesn't matter if you're looking for a basic date format checker and like to keep it simple.
Matches
1/2/14 | 01-02-2014 | 1.20.14
Non-Matches
1/2/014 | 1-2.2014 | Jan.2, 2014
Author Rating: Not yet rated. tedcambron
Title Test Details Another Date Matching Regex
Expression
^([a-yA-Y]{3,4}(?:\.?|[a-yA-Y]{1,6}?)\s?\d?\d(?:[d-tD-T]{2})?\,?\s?(?:\'?\d\d|\d{4}))$
Description
This will match things resembling a written date. It will match dates written incorrectly of course but this cute and funny date matching regex is for the beauty of the simplicity in checking the many ways to write a date.
Matches
Jan. 1, 2014 | January 1, '14 | JAN 1ST 2014
Non-Matches
this is not a date | 123 isn't either | neither is this!
Author Rating: Not yet rated. tedcambron
Title Test Details URL Segments
Expression
(?:[a-zA-Z0-9]+(?:(?:_|\-|\.)[a-zA-Z0-9]+)*)
Description
This is an expression I sometimes use to verify segments in a URL or directory path. It must begin and end with a word character and may contain "_" "-" and "." one at a time. It's non-capturing as it sits. More restrictive than RFC2396 and used to prevent directory transversal holes.
Matches
abc-123 | abc.def.ghi | my_path
Non-Matches
_abc | abc..123 | -my_path
Author Rating: Not yet rated. tedcambron
Title Test Details Domain Name
Expression
(?:[^0-9][a-zA-Z0-9]+(?:(?:\-|\.)[a-zA-Z0-9]+)*)
Description
This is a little regex to verify domain style names per RFC952. This is also found in RFC1034 and both use the terms domain name and host name interchangeably even though I believe there may be a difference. Only alpha, digit, and dashes allowed with a dot as delimiter. Must begin with alpha and not end with a dash or dot. No spaces.
Matches
abc.123 | abc-xyz | my-name.for.me
Non-Matches
123.abc | abc- | abc..
Author Rating: Not yet rated. tedcambron
Title Test Details URL w/ Port Option
Expression
^(\w{3,6}\:\/\/[\w\-]+(?:\.[\w\-]+)+(?:\:\d{2,4})*(?:\/?|(?:\/[\w\-]+)*)(?:\/?|\/\w+\.\w{2,4}(?:\?[\w]+\=[\w\-]+)?)?(?:\&[\w]+\=[\w\-]+)*)$
Description
Here's my relaxed version of an URL regex. This one accepts just about anything but a double dot but still must resemble an URL to pass. Unlike my other URL validater this one accepts a port. Doesn't accept out of place meta characters.
Matches
http://domain.com/ | ftp://foo.bar/dir | https://me.us/file.pl?arg=1
Non-Matches
http://domain | ftp://foo.bar//dir | https://me.us/file..pl
Author Rating: The rating for this expression. tedcambron
Title Test Details Embedded YouTube Video
Expression
(\"http:\/\/www\.youtube\.com\/v\/\w{11}\&rel\=1\")
Description
A simple regex to validate an embedded YouTube video.
Matches
a valid embedded YouTube video
Non-Matches
anything else
Author Rating: The rating for this expression. tedcambron
Title Test Details Embedded Google Video
Expression
(\"http:\/\/video\.google\.com\/googleplayer\.swf\?docId=\d{19}\&hl=[a-z]{2}\")
Description
A simple regex for validating an embedded Google video.
Matches
an embedded Google video
Non-Matches
anything else
Author Rating: The rating for this expression. tedcambron
Title Test Details Punctuation
Expression
^((\'|\")?[a-zA-Z]+(?:\-[a-zA-Z]+)?(?:s\'|\'[a-zA-Z]{1,2})?(?:(?:(?:\,|\.|\!|\?)?(?:\2)?)|(?:(?:\2)?(?:\,|\.|\!|\?)?))(?: (\'|\")?[a-zA-Z]+(?:\-[a-zA-Z]+)?(?:s\'|\'[a-zA-Z]{1,2})?(?:(?:(?:\,|\.|\!|\?)?(?:\2|\3)?)|(?:(?:\2|\3)?(?:\,|\.|\!|\?)?)))*)$
Description
This is a little goofy regex to allow punctuation. I was reluctant to post it but what the heck. If it puts a smile on somebody's face then it was worth it. It works in most cases. :)
Matches
"hello!" | "hello again"! | I'm back
Non-Matches
hello" | "hello again!"! | I'mnot back
Author Rating: The rating for this expression. tedcambron
Title Test Details Person's Name
Expression
^([a-zA-Z]+(?:\.)?(?:(?:'| )[a-zA-Z]+(?:\.)?)*)$
Description
Here's a regex for a person's name. Simple but effective.
Matches
Mr. O'Donnell III | Billy B. Bob Jr.
Non-Matches
@$%&? | 0'Donnell
Author Rating: The rating for this expression. tedcambron
Change page:   |    Displaying page 428 of 455 pages; Items 8541 to 8560

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