Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,200 community submitted regex patterns...
2
76
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
Simple domain.tld tester
ECMAScript (JavaScript)
For testing domain with TLD regExp.test("google.com") => true regExp.test("mad.engineering") => true
Submitted by
Sergio de la Garza
-
10 years ago
1
Currency Detector Python
Python
Currency Detector for Python
Submitted by
Joao Graca
-
10 years ago
2
Linux ARP-Table
PCRE (PHP <7.3)
Matches cat /proc/net/arp. It returns the IP, MAC and interface.
Submitted by
anonymous
-
10 years ago
1
dd-mm-yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
RegEx - Exclude zero
PCRE (PHP <7.3)
RegEx - Exclude zero
Submitted by
http://stackoverflow.com/questions/8910972/regex-exclude-zero
-
10 years ago
2
Nato Stock Number (Add dashes)
PCRE (PHP <7.3)
Takes a 13 digit non-dashed Nato Stock Number and uses the Substitution to add the dashes in
Submitted by
Matthew Perryman
-
10 years ago
0
Website URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2
Expanded Visual Basic Properties
PCRE (PHP <7.3)
I've been using this regex to get a list of expanded properties (specifically the property names from the 'prop' capture group) from VB code that is used as input in a code converter for a project at work.
Submitted by
Timothy Smith
-
10 years ago
2
uri template validation
PCRE (PHP <7.3)
validating uri template
Submitted by
Tirta Wijaya
-
10 years ago
1
Slovak phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
Brazilian Telephone Regex
PCRE (PHP <7.3)
A regex for brazilian telephones
Submitted by
André Ramos (github.com/andrelramos)
-
10 years ago
1
Find Markdown links, but not image
PCRE (PHP <7.3)
no description available
Submitted by
Chuck
-
10 years ago
2
ACTGatewaTranscript
PCRE (PHP <7.3)
Regex to find ACTGateway Transcript entries when discarding logs
Submitted by
jfilipek
-
10 years ago
2
Basic Email
PCRE (PHP <7.3)
no description available
Submitted by
Kareem Cambridge
-
10 years ago
1
anti-xss regex
ECMAScript (JavaScript)
this is a white list regex that invalidates input with "=
Submitted by
Ivan Cai
-
10 years ago
(Last modified 2 years ago)
1
Indian mobile numbers
PCRE (PHP <7.3)
All indian mobile phone numbers are till now are in the format of +91-(789)(9-digits) or +91(789)(9-digits) or 0(789)(9-digits). those numbers which are come into this category is valid with this RegEx.
Submitted by
N shoban babu
-
10 years ago
2
Shorten file path with /../
PCRE (PHP <7.3)
Example usage: $Path = preg_replace('/(?:^|(?<=\/))(?:+|\.(?!\.\/))++\/\.\.\//i', '', $Path);
Submitted by
Mr.Deek & +OnlineCop
-
10 years ago
0
Facebook Page/Profile. No profile.php. No /groups/
PCRE (PHP <7.3)
Example: http://www.facebook.com/profile.php?id=123456789 http://www.facebook.com/someusername https://www.facebook.com/0x20.be http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2F2leep%2F109473355777935&width=300&connections=4&stream=false&heade...
Submitted by
aramosf
-
10 years ago
2
MyFRegex
PCRE (PHP <7.3)
Hi
Submitted by
mymoon
-
10 years ago
1
...
56
57
58
59
60
...
910