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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 14,700 community submitted regex patterns...
1
Replace anonymous actions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Port mapping
PCRE (PHP <7.3)
no description available
Submitted by
yord
-
9 years ago
-3
remove facebook urls from html
ECMAScript (JavaScript)
This will remove all facebook urls from a HTML string
Submitted by
Russell Miller
-
9 years ago
1
Polynomial matcher
PCRE (PHP <7.3)
Matches every polynomial you want ;)
Submitted by
Stefan Baumann
-
9 years ago
0
brian
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Indian Phone Numbers!
PCRE (PHP <7.3)
This is not supported in Javascript! Works well for php, python. Examples: +91-8800119719, 08800119719, 8800119719, +918800119719 etc.
Submitted by
Prateek Jain
-
9 years ago
1
Sentence and word validator
PCRE (PHP <7.3)
Last captured word available via group W. Last captured sentence available via group S. Last parenthesis stuff in 6th capturing group.
Submitted by
luis140219 on GitHub
-
9 years ago
1
URL
PCRE (PHP <7.3)
simple url regex which also prevents capture of a trailing ">" (the html representation of ">")
Submitted by
Erich Spaker
-
9 years ago
1
URL-Matcher
PCRE (PHP <7.3)
a simple url regex which prevents matching of a trailing ">" (the html representation of a closeing angle bracket ">")
Submitted by
Erich Spaker
-
9 years ago
1
test
PCRE (PHP <7.3)
test
Submitted by
test
-
9 years ago
0
Substitution not wokring
Python
For python regex, substiution not working properly. It is not replcing matched content of $1... and so on. Please take a look.
Submitted by
anonymous
-
9 years ago
1
Apt Package Version validator
PCRE (PHP <7.3)
This regular expression will match the version string of a debian package
Submitted by
Anwar
-
9 years ago
1
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
YouTube Video ID + URL validator
PCRE (PHP <7.3)
Verifies YouTube video links AND pulls the video ID from them in a matching group. Works with all capitalizations. It also matches the WHOLE link but sorts the video ID into a group. Works with JavaScript, PHP and Python. (Not tested with any other Regex engine) ...
Submitted by
Billy Venner
-
9 years ago
1
list of comma separated dates in the form dd/mm/yyy
PCRE (PHP <7.3)
matches a list of comma separated dates in the form dd/mm/yyy. Between two dates must be only a comma. no other character are permitted: matches: 12/03/2011,23/19/1967 Doesn't match: 23/02/2010, 11/11/2011
Submitted by
reario
-
9 years ago
0
UAE Phone Numbers
Python
no description available
Submitted by
Sebastian
-
9 years ago
1
Line parser (split at sentence)
PCRE (PHP <7.3)
Splits a line into three parts: completed sentences from the previous line, any complete sentences, and any uncompleted sentences.
Submitted by
E.Gu
-
9 years ago
10
MikroTik FireWall
PCRE (PHP <7.3)
Regex used in Splunk to extract fields from Mikrotik FW. NOTES: Mikrotik must be configured to use "BSD Syslog" format FW rules must add, as log prefix, the action: drop accep...
Submitted by
HappyIdeasMaker
-
9 years ago
0
File name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Any telephone number with region and country in any format
ECMAScript (JavaScript)
Matches any telephone number with region parentesis, or separated by points or dash or spaces
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
9 years ago
1
...
678
679
680
681
682
...
735
Basic Phone Number Matching
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?:
\+
1
)?
\(
?
(
[
2
-
9
]
{0,1}
[
0
-
9
]
{2}
)
\)
?
[
.
-
]
?
(
[
0
-
9
]
{3}
)
[
.-
]
?
(
[
0
-
9
]
{4}
)
$
/
mg
Open regex in editor
Description
Basic Phone Number Matching
Submitted by
Anthony Cooper
-
3 years ago