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

Change page:   |    Displaying page 10 of 10 pages; Items 181 to 198
Title Test Details GUID Validation
Expression
^\{[A-Fa-f\d]{8}-[A-Fa-f\d]{4}-[A-Fa-f0\d]{4}-[A-Fa-f\d]{4}-[A-Fa-f\d]{12}\}$
Description
This validates GUID strings. It is not case sensitive and requires the beginning and ending curly brackets - '{' and '}' - to be present.
Matches
{CA373C30-293E-4DB8-A5E4-07AEA8D3F16E} | {01234567-8998-7654-3210-012345678998} | {ABCDEFFE-DCBA-ABCD-EFFE-DCBAABCDEFFE}
Non-Matches
{ABCDEFGH-IJKL-MNOP-QRST-UVWXYZ123456} | {0123-456789AB-CDEF-FEDC-BA9876543210}" | {0123456789ABCDEFFEDCBA9876543210}
Author Rating: The rating for this expression. Tupponce Software
Title Test Details URL finder
Expression
(([\w-]+://?|www[.])[^\s()<>]+)
Description
This regex will match a completly full URL. It filters everything that maybe a URL. VERY USEFUL for Pirni Pro tool too identify completly websites.
Matches
http://www.bbc.co.uk/news/world-us-canada-24375844
Non-Matches
www.google.com/nothing(betweenbrackets)
Author Rating: Not yet rated. Sergi
Title Test Details Facebook Pages URL
Expression
http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/(pages/[a-zA-Z0-9\.-]+/[0-9]+|[a-zA-Z0-9\.-]+)[/]?$
Description
Validating facebook pages url with rules such as with "www" or without "www", include localization domain such as "en-gb"
Matches
https://www.facebook.com/PETRONASMOTORSPORTS http://www.facebook.com/PETRONASMOTORSPORTS https://facebook.com/PETRONASMOTORSPORTS http://facebook.com/PETRONASMOTORSPORTS https://www.facebook.com/pages/MotherKidzcommy/233933596702267 http://www.facebook.com/pages/MotherKidzcommy/233933596702267 http://www.facebook.com/233933596702267 https://www.facebook.com/233933596702267
Non-Matches
https://facebook.com/pages/MotherKidzcommy/ http://facebook.com/pages/MotherKidzcommy/
Author Rating: Not yet rated. Mior Mohd Arif Mior Zamri
Title Test Details Split URL authority
Expression
^(?!.*\n.*)(?:([^:]*)(?::(.*?))?@)?([^:]*)(?::([^:]*?))?$
Description
For the purposes of this regex, the authority/domain of a URL comes after the scheme + "//", and includes an optional username, password, and port. This is a perl-compatible regex (PCRE) that captures the various parts of the a domain, including the (optional) username, (optional) password, host, and (optional) port. The capturing groups are as follows: 1 = username, 2 = password, 3 = host, 4 = post. See the source link for the logic behind parsing the domain. NOTE: This is NOT intended to parse entire URLs, you will need a separate regular expression to extract the domain. Technically, only strings with newline characters are non-matches. The rest yield empty capturing groups. ANOTHER NOTE: This does NOT verify that only ascii characters are used in domain names. It is intended to extract pieces from domains that should already be valid.
Matches
user@example.com:80 | user:password@example.com:8080 | site.com:8080 | site.com | 192.168.1.1:443 | usern@me@site.com | usern@me:pass@site.com
Non-Matches
\n | : | @
Author Rating: Not yet rated. Tyler Durkota
Title Test Details Pattern Title
Expression
\bhttp(s?)\:\/\/[a-zA-Z0-9\/\?\-\.\&amp;\(\)_=#]*
Description
Detects URLs in texts. http or https must precede the URL.
Matches
https://icd.slr.xxp.corp/xxp(bD1lbiZjPTAwMSZkPW1pbg==)/bc/bsp/xxp/crm_ui_start/default.htm?sxxrole=ZSU_DEF | http://de.selfhtml.org/perl/sprache/regexpr.htm#zeichen | http://dict.leo.org/#/search=precede&searchLoc=0&resultOrder=basic&multiwordShowSingle=on
Non-Matches
www.mgvo.de | www.facebook.com | google.de
Author Rating: Not yet rated. Dirk Hartkopf
Title Test Details URL
Expression
http://www.google.com
Description
Test
Matches
http://www.google.com
Non-Matches
ww.google.com
Author Rating: Not yet rated. divya sodhi
Title Test Details Facebook Event
Expression
http[s]?://(www.facebook|[a-zA-Z]{2}-[a-zA-Z]{2}.facebook|facebook)\.com/(events/[0-9]+|[a-zA-Z0-9\.-]+)[/]?$
Description
Validating facebook events url with rules such as with "www" or without "www", include localization domain such as "en-gb"
Matches
http://www.facebook.com/events/233933596702267 https://www.facebook.com/events/233933596702267
Non-Matches
http://facebook.com/pages/Andy-Worthington/196377860390800 | www.facebook.com/pages/Andy-Worthington/196377860390800 | http://www.facebook.com/people/Andy-Worthington/738143803
Author Rating: Not yet rated. Simon
Title Test Details URL
Expression
^(http(?:s)?\:\/\/[a-zA-Z0-9]+(?:(?:\.|\-)[a-zA-Z0-9]+)+(?:\:\d+)?(?:\/[\w\-]+)*(?:\/?|\/\w+\.[a-zA-Z]{2,7}(?:\?[\w]+\=[\w\-]+)?)?(?:\&[\w]+\=[\w\-]+)*)$
Description
A simple but powerful URL validating regex. Accepts multiple sub-domains and sub-directories. Even accepts query strings ande ports! Accepts HTTP or HTTPS. Also accepts optional "/" on end of address. This may be the mother of all URL regexes. It's much more stricter than most others that do far less.
Matches
http://website.com | http://subdomain.web-site.com/cgi-bin/perl.cgi?key1=value1&key2=value2
Non-Matches
http://website.com/perl.cgi?key= | http://web-site.com/cgi-bin/perl.cgi?key1=value1&key2
Author Rating: Not yet rated. Ted Cambron
Title Test Details Image URL
Expression
^(http\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,7}(?:\/[\w\-]+)*\.(?:jpg|jpeg|gif|png))$
Description
An overly simple regex to verify a URL pointing towards an image. It's usually all you need for this purpose.
Matches
http://website.com/directory/image.gif
Non-Matches
www.website.com/image.php
Author Rating: Not yet rated. Ted Cambron
Title Test Details Query String
Expression
^((?:\?[a-zA-Z0-9_]+\=[a-zA-Z0-9_]+)?(?:\&[a-zA-Z0-9_]+\=[a-zA-Z0-9_]+)*)$
Description
This is a very simple regex that check the query part of a string. That is to say anything after the "?" at the end of an URL.
Matches
?key=value | ?key1=value1&key2=value2
Non-Matches
key=value | ?key=value&
Author Rating: Not yet rated. Ted Cambron
Title Test Details URL Validation
Expression
(((ht|f)tp(s?))\://)?(\bw{3}[^w]\b)?[^w{4}][^\@]([0-9a-zA-Z\-]+\.)+[a-zA-Z]{2,6}(\:[0-9]+)?(/\S*)?
Description
This is a modification to an existing Regular Expression I had that was modified to cater for things like wwww., travel.url.com, url.com/travel, .com.au, and others.
Matches
http://www.url.com|www.url.com|www.url.com/dominos.asp|url.com|www.url.com.au|www.url.travel|travel.url.com
Non-Matches
wwww.url.com|rob@url.com | http://wwww.url.com|http://www.w
Author Rating: Not yet rated. Robin Gardner
Title Test Details URL http or https (http://twainscanning.com)
Expression
https?://[\d.A-Za-z-]+\.[A-Za-z]{2,6}/?
Description
URL http or https (http://twainscanning.com). From http://tools.twainscanning.com/getmyregex .
Matches
http://twainscanning.com
Non-Matches
ftp://twainscanning.com
Author Rating: Not yet rated. Jose Luna
Title Test Details URL http, https or www (www.twainscanning.com)
Expression
(?:https?://|www\.)[\d.A-Za-z-]+\.[A-Za-z]{2,6}/?
Description
URL http, https or www (www.twainscanning.com). From http://tools.twainscanning.com/getmyregex .
Matches
www.twainscanning.com
Non-Matches
twainscanning.com
Author Rating: Not yet rated. Jose Luna
Title Test Details HTML link URL
Expression
href(\s*)=(\s*)('|")http:\/\/(.*)(("|'))
Description
The pulls the HTML link URLs.
Matches
href="http://yahoo.com" href="google.com"
Non-Matches
src="http://domain.com/img.jpg" href="tel:1234567897""
Author Rating: Not yet rated. andrew servi
Title Test Details Kentico or Website Path
Expression
^(~/|/|(((ht|f)tp(s?))\://))[^/](\S*)[^/]+$
Description
Allows selection of a root relative path or absolute path; or it allows off-site http://, https://, or ftp:// specific url.
Matches
http://www.google.com | ftp://crazy.com | https://securecon | ~/rootrelative | /absolute/path
Non-Matches
www.google.com | http:cozystuff | go/here | /not/valid/
Author Rating: Not yet rated. Pat Knott
Title Test Details Get report URL parameters (SSRS)
Expression
(?<key>[\w+\s-:]*?)\s*?=\s*?(?<value>[\w+\s-]*)\s*
Description
Gets the reports parameters
Matches
vw_welcome&rs:Command=Render&rc:Parameters=false&rc:Zoom=Page Width&rc:Toolbar=false&rs:ParameterLanguage=es-MX
Non-Matches
vw_welcome&rs:Command
Author Rating: Not yet rated. Asere Ware
Title Test Details simple URL validation
Expression
^(?:(w){3}\.)?[0-9a-zA-Z]+\.[A-Za-z]{2,4}$
Description
This is just a simple URL to put in form validation. the domaine extension is unlimited (not limited to com net.. ). any comments are welcome
Matches
www.example.com example.com example.net wwwww.com
Non-Matches
ftp://example.com ex@ample.com example.cooom
Author Rating: Not yet rated. kandal
Title Test Details URLs
Expression
(http:\/\/|www\.).+?(?=\s|[[:punct:]]\s)
Description
Matches the instances I need. Needs to start with http:// or www.
Matches
http://www.website.com, http://www.website.com.br, www.website.com, www.website.com.br
Non-Matches
website.com, website.net, website.com.br
Author Rating: Not yet rated. Luis Felipe Corullón
Change page:   |    Displaying page 10 of 10 pages; Items 181 to 198

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