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: 62 regular expressions found.

Change page:   |    Displaying page 3 of 4 pages; Items 41 to 60
Title Test Details private ip range check
Expression
^(1(0|7|9)2?)\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\.([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])$
Description
validates private ip addresses needs to be a bit more refined
Matches
10.10.10.10 |192.168.16.4|172.016.22.55
Non-Matches
a.c.s.s| 100.10.10.10| 188.142.25.2| 651817
Author Rating: Not yet rated. blank
Title Test Details Ultimate URL Match Expression
Expression
^(?:(?:http|https|ftp|telnet|gopher|ms\-help|file|notes)://)?(?:(?:[a-z][\w~%!&',;=\-\.$\(\)\*\+]*):.*@)?(?:(?:[a-z0-9][\w\-]*[a-z0-9]*\.)*(?:(?:(?:(?:[a-z0-9][\w\-]*[a-z0-9]*)(?:\.[a-z0-9]+)?)|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(?::[0-9]+)?))?(?:(?:(?:/(?:[\w`~!$=;\-\+\.\^\(\)\|\{\}\[\]]|(?:%\d\d))+)*/(?:[\w`~!$=;\-\+\.\^\(\)\|\{\}\[\]]|(?:%\d\d))*)(?:\?[^#]+)?(?:#[a-z0-9]\w*)?)?$
Description
I think this is the ultimate url match expression to every possible url pattern including named or ip address domain PS: you have got to try RegexBuddy it's a very cool tool that helps realy http://www.regexbuddy.com
Matches
http://username:[email protected]:5000/test?q=2121ddf&opt=blah#ttg | http://www.test.com/test.htm#ttg | domain.com/?q=test | http://localhost/test | http://127.0.0.1/test | 127.0.0.1 | [email protected]
Non-Matches
[test] | opt=blah#ttg | /path?q=test
Author Rating: The rating for this expression. ASM™
Title Test Details Domain Name or IP
Expression
^(?:[a-z0-9][\w\-]*[a-z0-9]*\.)*(?:(?:(?:[a-z0-9][\w\-]*[a-z0-9]*)(?:\.[a-z0-9]+)?)|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))$
Description
accepts - Domain name - or ip address
Matches
domain | domain.local | domain124.local | 190.200.1.12
Non-Matches
user@domain | test.domain.local | domain124_.local | localhost:3000
Author Rating: The rating for this expression. ASM™
Title Test Details XML/XSD URL
Expression
((http|https|ftp|telnet|gopher|ms\-help|file|notes)://)?(([a-z][\w~%!&',;=\-\.$\(\)\*\+]*)(:.*)?@)?(([a-z0-9][\w\-]*[a-z0-9]*\.)*(((([a-z0-9][\w\-]*[a-z0-9]*)(\.[a-z0-9]+)?)|(((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(:[0-9]+)?))?(((/([\w`~!$=;\-\+\.\^\(\)\|\{\}\[\]]|(%\d\d))+)*/([\w`~!$=;\-\+\.\^\(\)\|\{\}\[\]]|(%\d\d))*)(\?[^#]+)?(#[a-z0-9]\w*)?)?
Description
I think this is the ultimate url match expression to every possible url pattern including named or ip address domain PS: you have got to try RegexBuddy it's a very cool tool that helps realy http://www.regexbuddy.com
Matches
http://username:[email protected]:5000/test?q=2121ddf&opt=blah#ttg | http://localhost/path/to/file-test.hml?q=45 | /index.html | index.html | http://127.0.0.1/path/to/?q=45
Non-Matches
[email protected] | httpss://test.com | about:blank | urn:oasis:names:specification
Author Rating: Not yet rated. ASM™
Title Test Details IP address
Expression
^([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3}$
Description
This regular expression validates an IP address within the range of 1.0.0.0 to 255.255.255.255
Matches
128.115.12.255, 227.12.14.87, 14.23.120.8
Non-Matches
111.56.045.78, 221.34.7.8.20, 75.45.301.14
Author Rating: The rating for this expression. Arjun Jaiswal
Title Test Details IP address
Expression
^(([01]?[0-9]{1,2}|2[0-4][0-9]|25[0-5])\.){3}([01]?[0-9]{1,2}|2[0-4][0-9]|25[0-5])$
Description
This is a standard perl-compatible regexp for ip4 address validation
Matches
192.168.0.1
Non-Matches
192.259.800.1
Author Rating: Not yet rated. Konstantin
Title Test Details ip_regex
Expression
^((0*[0-1]?[0-9]{1,2}\.)|(0*((2[0-4][0-9])|(25[0-5]))\.)){3}((0*[0-1]?[0-9]{1,2})|(0*((2[0-4][0-9])|(25[0-5]))))$
Description
Matches ip addresses. Takes into account trailing left zeros.
Matches
172.18.200.101 | 00172.18.200.001 | 172.255.255.255
Non-Matches
172.256.255.255 | 1072.255.255.255 | 172.255.255.1.1
Author Rating: Not yet rated. Ugur Dogru
Title Test Details Single Email Match - current June 2010
Expression
^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+(?:[a-zA-Z]{2}|aero|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel)$
Description
Matches email addresses. Based on expression at regular-expressions.info/email.html modified to include all top-level domains (TLD)listed on wikipedia as of June 2010. Needs to be updated as new TLDs are added. Known Issues: * IP Addresses will not validate * Double "at" symbols, e.g. email@[email protected] slip by this regex. Would welcome improvements by a regex ninja.
Matches
Non-Matches
Author Rating: The rating for this expression. Brent Thomas
Title Test Details E-mail validation
Expression
^(?:[^@<>;:,.()\s\[\]\\]+(?:\.(?!@))?)+@(?:[\w\-]+(?:\.(?!\.))?)+\.[A-Za-z]{2,6}$
Description
Email validation intended for javascript: use of lookahead ('.' not followed by '@') instead of lookbehind ('@' not preceded by '.'). It doesn't allow ip addresses.
Matches
[email protected], ?_9+3=12!/[email protected], çèré&pâtükõ@far-away.net
Non-Matches
Author Rating: Not yet rated. Christof Verhoeven
Title Test Details IP Address
Expression
^\d{1,3}[.]\d{1,3}[.]\d{1,3}[.]\d{1,3}$
Description
Check for IP address
Matches
"192.1.3.25"; "255.255.255.255"; "100.30.27.54"
Non-Matches
"a.b.c.d"; "192.1683.3.25"; "192.168.2"
Author Rating: Not yet rated. Gustavo Salvador
Title Test Details Find URL in text
Expression
/((https?|ftp)\:\/\/)?([a-z0-9+!*(),;?&=\$_.-]+(\:[a-z0-9+!*(),;?&=\$_.-]+)?@)?(([a-z0-9-.]*)\.([a-z]{2,6}))|(([0-9]{1,3}\.){3}[0-9]{1,3})(\:[0-9]{2,5})?(\/([a-z0-9+\$_-]\.?)+)*\/?(\?[a-z+&\$_.-][a-z0-9;:@&%=+\/\$_.-]*)?(#[a-z_.-][a-z0-9+\$_.-]*)?/i
Description
This could be most complete and readable URL-finder regex. I built it from several good examples. Works with PHP preg_match_all(). Finds whatever string that resembles a URL with scheme://, user:password, subdomains.domain (with up to 6 chars top-domain) or IP address xxx.xxx.xxx.xxx, :port, /file/path/, ?request, and #anchor
Matches
google.com
Non-Matches
file://hello.txt
Author Rating: The rating for this expression. Marco Alvarado
Title Test Details IP Address
Expression
no regex plz delete
Description
matches nothing unfortunately
Matches
:)
Non-Matches
:P
Author Rating: Not yet rated. nask
Title Test Details IP address in application configuration files
Expression
[\\""=/>](25[0-4]|2[0-4][0-9]|1\d{2}|\d{2})\.((25[0-4]|2[0-4][0-9]|1\d{2}|\d{1,2})\.){2}(25[0-4]|2[0-4][0-9]|1\d{2}|\d{2}|[1-9])\b[\\""=:;,/<]
Description
This expression is ideal used for "identifying some plain application configuration files that contain any form of ip addresses, with or without port number followed and with protocol at the beginning". [\\""=/] can be removed on both ends to seach IPs in text files, but with it, it has better accuracy - there are version numbers in the application configuration files. It also does not match IPs that have one digit at the first number.
Matches
/172.21.134.89: /127.0.0.1: "14.14.14.14"
Non-Matches
"255.255.255.255" "243.243.2.0" "2.222.222.222" /2224.2224.2224.2224:
Author Rating: Not yet rated. BH
Title Test Details IP addresses not 127.0.0.1
Expression
\b(1(?!27\.0\.0\.1)\d{1,2}|2[0-4][0-9]|25[0-4]|\d{1,2})\.(?:\d{1,3}\.){2}(25[0-5]|2[0-4][0-9]|1\d{2}|\d{2}|[1-9])\b
Description
Match all IP addresses other than 127.0.0.1. It dose not match an IP has 0 at the last number
Matches
172.21.134.89 127.1.1.1 7.0.0.1 214.214.214.214
Non-Matches
127.0.0.1 192.168.1.0 255.255.255.255
Author Rating: Not yet rated. BH
Title Test Details Powerful email address validator with support for multiple subdomains and IP Addresses. (RFC 5322-5321)
Expression
^([\!#\$%&'\*\+/\=?\^`\{\|\}~a-zA-Z0-9_-]+[\.]?)+[\!#\$%&'\*\+/\=?\^`\{\|\}~a-zA-Z0-9_-]+@{1}((([0-9A-Za-z_-]+)([\.]{1}[0-9A-Za-z_-]+)*\.{1}([A-Za-z]){1,6})|(([0-9]{1,3}[\.]{1}){3}([0-9]{1,3}){1}))$
Description
The following is a powerful regular expression for e-mail address's validation. It was wrote respecting the e-mail addresses' syntax reported in the RFCs and supports both hostnames with multiple sub domains and IP addresses.
Matches
Non-Matches
Author Rating: The rating for this expression. Salvatore Fresta
Title Test Details email pattern basic
Expression
(^([A-Za-z])([-_.\dA-Za-z]{1,10})([\dA-Za-z]{1}))(@)(([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})|(([\dA-Za-z{1}][-_.\dA-Za-z]{1,25})\.([A-Za-z]{2,4}))$)
Description
v allow Symbol [(_) (-) (DOT)] (number) (a-z and caps), X disallow symbol&number at begining (avoid bad sorting database, including bad subdomain name (1.example.com) & fake email) and ending (before "@") & other symbols are disallowed; username min,max/maxout = 2, 25/27 --- must exist "@" ---; after "@" : FOR DOMAIN NAME : v Symbol [(_) (-) (DOT)] (number) (a-z and caps), X symbol at begining and ending (including before top level domain extension) v a-z (with/out caps) total min=2 max 4 in top level domain extension NOT SUPPORTED PORT NUMBER, if you the administrator ? self edit the database, DONT give user a chance for adding port number. maximum 25 address length ; OR standard IP ADDRESS. WHITE SPACE IS NOT SUPPORTED.
Matches
Non-Matches
Author Rating: Not yet rated. deviant2
Title Test Details To check a valid IP Address
Expression
\b(?:\d{1,3}\.){3}\d{1,3}\b
Description
To check a valid IP Address. It will check the valid IP address on the logic of three dots max three digits in each section
Matches
192.168.10.210
Non-Matches
192.168.10.256.21
Author Rating: The rating for this expression. Chandan Kumar
Title Test Details ip address from 0.0.0.0-255.255.255.255
Expression
regexp {[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+}
Description
all ip address should be accepted within this range 0-255
Matches
192.168.10.10
Non-Matches
256.256.256.256
Author Rating: The rating for this expression. rejina
Title Test Details Validation IP4
Expression
^([01][0-9][0-9]|2[0-4][0-9]|25[0-5].[01][0-9][0-9]|2[0-4][0-9]|25[0-5].[01][0-9][0-9]|2[0-4][0-9]|25[0-5].[01][0-9][0-9]|2[0-4][0-9]|25[0-5])$
Description
Validation IP Address Version 4
Matches
127.0.0.1,255.255.0.0
Non-Matches
.235.23,255.255.255.255.56.
Author Rating: Not yet rated. Bheemsen Singh
Title Test Details comma seperated multiple ip address
Expression
@"^((((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))\,?)*$"
Description
Comma seperated multiple ip address
Matches
123.123.123.123,123.123.123.123
Non-Matches
12313.1231//.12333
Author Rating: Not yet rated. phani
Change page:   |    Displaying page 3 of 4 pages; Items 41 to 60

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