Regular Expressions 101

Library entries

1
pcre

Email verification

no description available
Submitted by SonnY - 8 years ago
0
pcre

Email verification

no description available
Submitted by SonnY - 8 years ago
0
pcre

Match links in html

Matches all from
Submitted by anonymous - 8 years ago
1
pcre

Find php short echo tags

Find instances of Usefult to replace with
Submitted by JayCee - 8 years ago
1
pcre

Find php short open tags

Finds instances of <? instead of <?php
Submitted by JayCee - 8 years ago
0
pcre

negative lookbehind

no description available
Submitted by anonymous - 8 years ago
1
pcre

111

no description available
Submitted by anonymous - 8 years ago
1
pcre

url 1

no description available
Submitted by anonymous - 8 years ago
1
pcre

Parsing BWPROMO

no description available
Submitted by anonymous - 8 years ago
1
pcre

find variant in uri

no description available
Submitted by anonymous - 8 years ago
1
pcre

get last uri segment ending in number

no description available
Submitted by Ben - 8 years ago
1
pcre

remove tinymce id's

no description available
Submitted by anonymous - 8 years ago
1
pcre

OG by Sam

no description available
Submitted by anonymous - 8 years ago
-1
pcre

website

If needed to test entered website
Submitted by Max Shishkov - 8 years ago

catch or match URL or URI

Vote

1

Regular Expression
pcre

/
(?(DEFINE) (?<protocol> (?<=^|[^a-z]) [a-z]+? : ) (?<domain> (?:[a-z\-]+\.)+[a-z\-]+ ) (?<ip> (?:(?: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]?) ) (?<port> (?<!\s):\d+(?=\/|$|\s)) (?<pathquery>[A-Za-z\d\!\*\(\)\;\:\@\&\=\+\$\,\/\?\#\[\]\%\{\}\|\\\^\`\~]+) (?<url> (?&protocol) (?: (?:\/\/) (?: (?&domain) | (?&ip) ) (?&port)? )? (?&pathquery)) ) (?&url)
/
uxmg

Description

Loading markdown...
Submitted by CSnowstar(997596@gmail.com) - 8 years ago