Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
([\d\w-.]+?\.(a[cdefgilmnoqrstuwz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvxyz]|d[ejkmnoz]|e[ceghrst]|f[ijkmnor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eouw]|s[abcdeghijklmnortuvyz]|t[cdfghjkmnoprtvwz]|u[augkmsyz]|v[aceginu]|w[fs]|y[etu]|z[amw]|aero|arpa|biz|com|coop|edu|info|int|gov|mil|museum|name|net|org|pro)(\b|\W(?<!&|=)(?!\.\s|\.{3}).*?))(\s|$) |
Description |
This will find URLs in plain text. With or without protocol. It matches against all toplevel domains to find the URL in the text. |
Matches |
http://www.website.com/index.html | www.website.com | website.com |
Non-Matches |
Works in all my tests. Does not capture protocol. |
Author |
Rating:
James Johnston
|
Title |
Test
Details
Querystring Parse
|
Expression |
(?<=[\?|\&])(?<key>[^\?=\&\#]+)=?(?<value>[^\?=\&\#]*) |
Description |
I wrote this to parse the querystring into its key value parts. It will also match querystring keys without an associated value.
For a nice url parser, look at this one http://regexlib.com/REDetails.aspx?regexp_id=628 |
Matches |
http://www.foo.com/page.aspx?qs1=true&test=foo&bar=true&test#blah |
Non-Matches |
http://www.foo.com/page.aspx |
Author |
Rating:
Tim Cartwright
|
Title |
Test
Details
Pattern Title
|
Expression |
^(?=[^&])(?:(?<scheme>[^:/?#]+):)?(?://(?<authority>[^/?#]*))?(?<path>[^?#]*)(?:\?(?<query>[^#]*))?(?:#(?<fragment>.*))? |
Description |
Use it for breaking-down a URI (URL, URN) reference into its main components: Scheme, Authority, Path, Query and Fragment.
This is not a simple match regular expression. so it not works to verify a URI. It returns 1 matching group for each URI component.
For example, for the following URI:
http://regexlib.com/REDetails.aspx?regexp_id=x#Details
returns: scheme="http", authority="regexlib.com", path="/REDetails.aspx", query="regexp_id=x" and fragment="Details".
This is a W3C raccomandation (RFC 2396). |
Matches |
http://regexlib.com/REDetails.aspx?regexp_id=x#Details |
Non-Matches |
& |
Author |
Rating:
Not yet rated.
Frederico Knabben
|
Title |
Test
Details
A Liberal, Accurate Pattern for Matching URLs
|
Expression |
\b(([\w-]+://?|www[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/))) |
Description |
Identifies the URLs in an arbitrary string of text, where by “arbitrary” let’s agree we mean something unstructured such as an email message or a tweet. Source: daringfireball.net |
Matches |
http://foo.com/blah_blah | http://foo.com/blah_blah/ | (Something like http://foo.com/blah_blah) | http://foo.com/blah_blah_(wikipedia) | (Something like http://foo.com/blah_blah_(wikipedia)) | http://foo.com/blah_blah. | http://foo.com/blah_blah/. | <http://foo.com/blah_blah> | <http://foo.com/blah_blah/> | http://foo.com/blah_blah, | http://www.example.com/wpstyle/?p=364. | http://✪df.ws/123 | rdar://1234 | rdar:/1234 | http://userid: [email protected]:8080 | http:// [email protected] | http:// [email protected]:8080 | http://userid: [email protected] |
Non-Matches |
no_ws.example.com | no_proto_or_ws.com | /relative_resource.php |
Author |
Rating:
Not yet rated.
Scott C
|
Title |
Test
Details
Curl apostrophes
|
Expression |
'([dmstrl])([ .,?!\)\\/<]) |
Description |
Find apostrophes in text.
I use this to curl them, by replacing the above with this expression:
’$1$2 |
Matches |
it's |they'll |we're,|I'd! |
Non-Matches |
its| were| He said 'Hello'. |
Author |
Rating:
Not yet rated.
Nabha
|
Title |
Test
Details
Hyperlink
|
Expression |
<a\s{1}href="(?<url>.*?)"(\s?target="(?<target>_(blank|new|parent|self|top))")?(\s?class="(?<class>.*?)")?(\s?style="(?<style>.*?)")?>(?<title>.*?)</a> |
Description |
Get the URL, target, class, style and description from a hyperlink |
Matches |
<a href="www.test.com" target="_blank" class="testclass" style="padding:0;">This is a test link</a> |
Non-Matches |
www.test.com |
Author |
Rating:
Not yet rated.
Matt Jones
|
Title |
Test
Details
Pattern Title
|
Expression |
^(((ht|f)tp(s?))\://)?(www.|[a-zA-Z].)[a-zA-Z0-9\-\.]+\.(com|edu|gov|mil|net|org|biz|info|name|museum|us|ca|uk)(\:[0-9]+)*(/($|[a-zA-Z0-9\.\,\;\?\'\\\+&%\$#\=~_\-]+))*$ |
Description |
Version 1.3.0: I needed a regexp to validate URL's without the ht(f)tp(s):// and include North American domains (like .us and .ca) and there didn't seem to be one available...so I created one. It will also work with ASP QueryStrings and anchor URL's. If you have a problem with the expression or have any suggestions to improve, please write me and let me know. Added .uk domain and expression now allows for URLs that contain JSP session IDs. 4/14/04 - added ability to include URLs that start with server names. |
Matches |
www.blah.com:8103 | www.blah.com/blah.asp?sort=ASC | www.blah.com/blah.htm#blah |
Non-Matches |
www.state.ga | http://www.blah.ru |
Author |
Rating:
Brad Dobyns
|
Title |
Test
Details
Pattern Title
|
Expression |
(?:(?:http|https)://(?:(?:[^/&=()/§, ]*?)*\.)+(?:\w{2,3})+?)(?:/+[^ ?,'§$&()={\[\]}]*)*(?:\?+.*)?$ |
Description |
I don't give a f*** to the RFC, fix it yourself for RFC, I just need a valid webresource location. So add forbidden characters as you need them in the character classes or use it as it is. This RegEx is not for searching valid URLs, just for validating. Look at the trailing $. |
Matches |
http://www.test.org | http://www.test.org/page1 | http://www.test.org/folder/subfolder/page.html?get |
Non-Matches |
http://www.test.org% | http://www.test.org/hgh(s/ | http://www.test.org/hehe/notallowed&/page1.h |
Author |
Rating:
Lars Echterhoff
|
Title |
Test
Details
Regular Expression to Extract Standard Domain Name
|
Expression |
(http[s]?://)?([A-Za-z0-9-]\.)*(?<domainName>([A-Za-z0-9-]+\.)[A-Za-z]{2,3})/?.$ |
Description |
This regular expression is designed just to extract the domain name from a URL. A domain name may neither start with nor end with a dash. I didn't take the time to add in this check and am actually not sure that it could be easily done. Try it for yourself to understand why. |
Matches |
http://happycatfish.com/|http://happycatfish.com/our-work |
Non-Matches |
http://happycatfish.comm|http://happycatfish.c |
Author |
Rating:
Anthony Gatlin
|
Title |
Test
Details
URl Domain names
|
Expression |
^http[s]?://([a-zA-Z0-9\-]+\.)*([a-zA-Z]{3,61}|[a-zA-Z]{1,}\.[a-zA-Z]{2})/.*$ |
Description |
Used for matching a URL and can be used for extracting the domain name from a given URL ending with '/'.
Concat $2 and $3 to get the domain name.
|
Matches |
http://www.google.com/;http://google.com/;http://code.google.com/;http://google.co.uk/;http://tx.us/ |
Non-Matches |
http://www.google.com; |
Author |
Rating:
Not yet rated.
buzzooka
|
Title |
Test
Details
Web URL Validation RegEx
|
Expression |
^(http(s?)\:\/\/)?(www.)?(([A-Za-z]+)([0-9]+)?([A-Za-z0-9\.\_\-]+)?)(\.)(([a-zA-Z]{2,})([0-9a-zA-Z]+)?)(\:\d{0,5})?(\/|(\/[A-Za-z]+([a-zA-Z0-9]+)?)+)?(\?[a-zA-Z0-9\\\&\%\_\.\/\-\=\~\*]+)?$ |
Description |
Web Url validation using regex. need mult-line option |
Matches |
https://www.test.com | https://www.test.com/ | https://test.com | https://test.com/ | http://test.com | www.test.com | www.test.com/ | test.com | test.com | test069.com | test.test.com | test01.test01.com | test.test.co | test.com:1 | test.cm:12345 | www.xa.com/abc/a | www.xa.com/abc | test.com/con1/method1 | w.google.com | google.com?te-st=xyz | oogle.com?test=xyz | google.com?test= | google.com?test | google.com?test=xyz&text | google.com?test=xyz&text=t&*5 |
Non-Matches |
*.google.com | goole.com/* | .google.com | google.com? | google.com/? | google.co-m | @.google.com | ftp://test.com | test test.com | www.xa.com/ab c/a | test.com:123456 | //test.com | test.test.c | 01test.test.com | test.c | test.test. | http://www.test.c | 01test.com | test.01 | |
Author |
Rating:
Not yet rated.
Ankur Ranpariya
|
Title |
Test
Details
DOCTYPE
|
Expression |
\<\!doctype\s+(([^\s\>]+)\s+)?(([^\s\>]+)\s*)?(\"([^\/]+)\/\/([^\/]+)\/\/([^\s]+)\s([^\/]+)\/\/([^\"]+)\")?(\s*\"([^\"]+)\")?\> |
Description |
Check and parse a DOCTYPE tag elements: (topElement, availability, registration, organization, type, label, language, url) |
Matches |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | <!DOCTYPE math SYSTEM "http://www.w3.org/Math/DTD/mathml1/mathml.dtd"> |
Non-Matches |
<DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | <HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> | DOCTYPE math SYSTEM "http://www.w3.org/Math/DTD/mathml1/mathml.dtd" |
Author |
Rating:
Not yet rated.
Dean Dal Bozzo
|
Title |
Test
Details
URL
|
Expression |
^((([hH][tT][tT][pP][sS]?|[fF][tT][pP])\:\/\/)?([\w\.\-]+(\:[\w\.\&%\$\-]+)*@)?((([^\s\(\)\<\>\\\"\.\[\]\,@;:]+)(\.[^\s\(\)\<\>\\\"\.\[\]\,@;:]+)*(\.[a-zA-Z]{2,4}))|((([01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}([01]?\d{1,2}|2[0-4]\d|25[0-5])))(\b\:(6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]\d{3}|[1-5]\d{4}|[1-9]\d{0,3}|0)\b)?((\/[^\/][\w\.\,\?\'\\\/\+&%\$#\=~_\-@]*)*[^\.\,\?\"\'\(\)\[\]!;<>{}\s\x7F-\xFF])?)$ |
Description |
Matches a URL string by: protocol,subdomain,domain,ip address,port number,path and/or filename |
Matches |
http://regexlib.com | https://regexlib.com:80 | 66.129.120.94/Search.aspx |
Non-Matches |
http:/regexlib.com | https://regexlib.com:65536 | 66.129.120.256/Search.aspx. |
Author |
Rating:
Not yet rated.
Dean Dal Bozzo
|
Title |
Test
Details
Pattern Title
|
Expression |
(str\=)\s*(?<value>([a-zA-Z0-9\,\.]{1})*) |
Description |
Finding the value behind the char '='. The Exp. is designed to find parametres in specified URL's. In this example it find tha value of "str=" |
Matches |
http://www.mysite.com/?str=yes | http://www.mysite.com/?find1=not&str=yes | this is my test and |
Non-Matches |
http://www.mysite.com/?find1=not | this is my test and str = no |
Author |
Rating:
Not yet rated.
Mickey Jervin
|
Title |
Test
Details
Pattern Title
|
Expression |
\.com/(\d+)$ |
Description |
This is a regex I wrote to capture requests to AspAlliance.com with an article id as the only thing after the domain. So http://aspalliance.com/123 would go to article number 123. It maps the URL to the actual aspx file that displays the article based on the ID. |
Matches |
http://aspalliance.com/123 | www.aspalliance.com/123 | http://aspalliance.com/34 |
Non-Matches |
http://aspalliance.com/article.aspx?id=123 | http://aspalliance.com/ | http://aspalliance.com/articl |
Author |
Rating:
Not yet rated.
Steven Smith
|
Title |
Test
Details
Comprehensive hyperlink URL
|
Expression |
^(((?:(?:f|ht)tps?(?!\:\/\/[-\.\w]+@)|mailto(?=\:\/\/[-\.\w]+@))\:\/\/)?(?:((?:(?:(?:2(?:[0-4]\d|5[0-5])|[01]?\d?\d))(?:\.(?:2(?:[0-4]\d|5[0-5])|[01]?\d?\d)){3})|(?:(?:[a-zA-Z0-9](?:[-\w]*[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6}(?:(?:\/[-\w]+(?=\/))*)?)|(?:[0-9a-zA-Z](?:[-.\w]*[0-9a-zA-Z])?@(?:[0-9a-zA-Z](?:[-\w]*[0-9a-zA-Z])?\.)+[a-zA-Z]{2,6}(?![\/\?])))(\/[-\w]+)?(?:(?<=\w)\.([a-zA-Z0-9]{2,4}))?(?:(?<=\w)\?([a-zA-Z][-\w]*=[-\w]+(?:&[a-zA-Z][-\w]*=[-\w]+)*))?))$ |
Description |
Designed for full url matching in common hyperlink text including: 1. ftp(s),http(s), and mailto protocols. 2. ip, domain names and sub-domains, and standard email addresses. 3. files with extensions and parameters. Match provides whole match and protocol, address, page, file extension, and parameter sub-matches for use in parsing. If you see anything that can be improved, by all means provide me some feedback. Thanks! |
Matches |
ftp://255.255.255.255 | http://www.domain.com | mailto:// [email protected] | domain.com/dir/page.ext?param=value¶m=value |
Non-Matches |
|
Author |
Rating:
Not yet rated.
Steven Arebalo
|
Title |
Test
Details
Identify relative urls
|
Expression |
(src|href|action)\s*=\s*('|"|(?!"|'))(?!(http:|ftp:|mailto:|https:|#)) |
Description |
After hitting little snags through the years here is a [WIP] for replacing relative links. Notice that it considers whitespace between the src,href and the equal sign, it also considers the links may not have any quotes around them. It negates urls that start with http,ftp,link anchors, https and mailto. |
Matches |
href=" src = "pa href='../ |
Non-Matches |
href="mailto: href="mailto: src='ftp: |
Author |
Rating:
Not yet rated.
Esteban Smits
|
Title |
Test
Details
url
|
Expression |
(?:(?:(?:http|ftp|gopher|telnet|news)://)(?:w{3}\.)?(?:[a-zA-Z0-9/;\?&=:\-_\$\+!\*'\(\|\\~\[\]#%\.])+) |
Description |
an expression to match internet addresses with one of the known protocolls (http, ftp, gopher, telnet, news) |
Matches |
http://ifi.lmu.de | ftp://leo.org | gopher://gopher.com |
Non-Matches |
www.google.com |
Author |
Rating:
Not yet rated.
Kis Hajnalka
|
Title |
Test
Details
url
|
Expression |
(?:(?:[a-zA-Z0-9/;\?&=:\-_\$\+!\*'\(\|\\~\[\]#%\.](?!www))+(?:\.[Cc]om|\.[Ee]du|\.[gG]ov|\.[Ii]nt|\.[Mm]il|\.[Nn]et|\.[Oo]rg|\.[Bb]iz|\.[Ii]nfo|\.[Nn]ame|\.[Pp]ro|\.[Aa]ero|\.[cC]oop|\.[mM]useum|\.[Cc]at|\.[Jj]obs|\.[Tt]ravel|\.[Aa]rpa|\.[Mm]obi|\.[Aa]c|\.[Aa]d|\.[aA]e|\.[aA]f|\.[aA]g|\.[aA]i|\.[aA]l|\.[aA]m|\.[aA]n|\.[aA]o|\.[aA]q|\.[aA]r|\.[aA]s|\.[aA]t|\.[aA]u|\.[aA]w|\.[aA]z|\.[aA]x|\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]n|\.[mM]o|\.[mM]p|\.[mM]q|\.[mM]r|\.[mM]s|\.[mM]t|\.[mM]u|\.[mM]v|\.[mM]w|\.[mM]x|\.[mM]y|\.[mM]z|\.[nN]a|\.[nN]c|\.[nN]e|\.[nN]f|\.[nN]g|\.[nN]i|\.[nN]l|\.[nN]o|\.[nN]p|\.[nN]r|\.[nN]u|\.[nN]z|\.[oO]m|\.[pP]a|\.[pP]e|\.[pP]f|\.[pP]g|\.[pP]h|\.[pP]k|\.[pP]l|\.[pP]m|\.[pP]n|\.[pP]r|\.[pP]s|\.[pP]t|\.[pP]w|\.[pP]y|\.[qP]a|\.[rR]e|\.[rR]o|\.[rR]u|\.[rR]w|\.[sS]a|\.[sS]b|\.[sS]c|\.[sS]d|\.[sS]e|\.[sS]g|\.[sS]h|\.[Ss]i|\.[sS]j|\.[sS]k|\.[sS]l|\.[sS]m|\.[sS]n|\.[sS]o|\.[sS]r|\.[sS]t|\.[sS]v|\.[sS]y|\.[sS]z|\.[tT]c|\.[tT]d|\.[tT]f|\.[tT]g|\.[tT]h|\.[tT]j|\.[tT]k|\.[tT]l|\.[tT]m|\.[tT]n|\.[tT]o|\.[tT]p|\.[tT]r|\.[tT]t|\.[tT]v|\.[tT]w|\.[tT]z|\.[uU]a|\.[uU]g|\.[uU]k|\.[uU]m|\.[uU]s|\.[uU]y|\.[uU]z|\.[vV]a|\.[vV]c|\.[vV]e|\.[vV]g|\.[vV]i|\.[vV]n|\.[vV]u|\.[wW]f|\.[wW]s|\.[yY]e|\.[yY]t|\.[yY]u|\.[zZ]a|\.[zZ]m|\.[zZ]w)) |
Description |
here are specified all the top level domains. In fact, this expression gets the urls only till the TLD. |
Matches |
webmail.ifi.lmu.de |
Non-Matches |
kis.hajnalka |
Author |
Rating:
Not yet rated.
Kis Hajnalka
|
Title |
Test
Details
url
|
Expression |
(?:(?:w{3}\.)(?:[a-zA-Z0-9/;\?&=:\-_\$\+!\*'\(\|\\~\[\]#%\.])+[\.com|\.edu|\.gov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sh|\..si|\.sj|\.sk|\.sl|\.sm|\.sn|\.so|\.sr|\.st|\.sv|\.sy|\.sz|\.tc|\.td|\.tf|\.tg|\.th|\.tj|\.tk|\.tl|\.tm|\.tn|\.to|\.tp|\.tr|\.tt|\.tv|\.tw|\.tz|\.ua|\.ug|\.uk|\.um|\.us|\.uy|\.uz|\.va|\.vc|\.ve|\.vg|\.vi|\.vn|\.vu|\.wf|\.ws|\.ye|\.yt|\.yu|\.za|\.zm|\.zw](?:[a-zA-Z0-9/;\?&=:\-_\$\+!\*'\(\|\\~\[\]#%\.])*) |
Description |
So, that's it. Gets url-s with "www", BUT without the protocols. If you need one regEx with the protocols, search for it in this database, I've added one |
Matches |
www.google.com |
Non-Matches |
http://www.google.com |
Author |
Rating:
Not yet rated.
Kis Hajnalka
|
Displaying page
of
pages;
Items to