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,000 community submitted regex patterns...
1
Simple telephone regex
PCRE (PHP <7.3)
Includes simple country and city code, regex will only work for 7 digit telephone numbers in following formats: +xxxxxxxxxx +x(xxx)xxxxxx +xxx(xxx)xxx-xx-xx
Submitted by
Jacob
-
9 years ago
1
eE5iG4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
WastefulInterpolation
PCRE (PHP <7.3)
Finds interpolated strings in scala code that do not contain any variables.
Submitted by
Sascha Kolberg
-
9 years ago
1
extract word from string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
company name_adr1_adr2
PCRE (PHP <7.3)
CompanyName Address1 Address2
Submitted by
SFR
-
9 years ago
1
capture ip address/port/path
ECMAScript (JavaScript)
works but capturing groups are not so organized testing string: "https://127.0.0.1:8000/path/subpath/otherpath" "https://127.0.0.1/path/subpath/otherpath" "https://127.0.0.1/12345/subpath/otherpath"
Submitted by
anonymous
-
9 years ago
1
WP URL Rewrites
PCRE (PHP <7.3)
Reviews Pages
Submitted by
John Farrar
-
9 years ago
0
Remove Javascript Single Line Comment
PCRE (PHP <7.3)
Yancharuk's code/regex
Submitted by
Yancharuk
-
9 years ago
1
A HREF validation
ECMAScript (JavaScript)
Checks for well formed tags. Must include mailto, http or https. Must have quoted href. Other attribues before or after href are accepted. Must be ended with
Submitted by
thedotfactor
-
9 years ago
1
Busca Comentario
PCRE (PHP <7.3)
pega todos os comentarios do Delphi
Submitted by
JoaoFabioMA
-
9 years ago
1
php $_REQUEST, $_POST, $_GET
PCRE (PHP <7.3)
all instances of $_REQUEST, $_POST and $_GET. globally, case-insensitive
Submitted by
localhost8080
-
9 years ago
1
screen name twitter
PCRE (PHP <7.3)
Verifica si es un nombre de twitter valido. Para diversos casos de uso, eliminar o dejar la arroba.
Submitted by
Francisco Guevara
-
9 years ago
1
python def to macro def
PCRE (PHP <7.3)
no description available
Submitted by
David Young
-
9 years ago
1
def to macro
PCRE (PHP <7.3)
python def to assembly macro
Submitted by
anonymous
-
9 years ago
0
Minify css selectors
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Vehicle Identification Number
ECMAScript (JavaScript)
In Vehicle Identification Number used by motor vehicle manufacturers, the letters I, O and Q are omitted for their similarity to 1 or 0.
Submitted by
nguyenlamzx@outlook.com
-
9 years ago
-1
XML matching nodes
PCRE (PHP <7.3)
This regex matches opening and closing tags in XML (including attributes) and is used to "hide" the value of the node.
Submitted by
Marc Fellman
-
9 years ago
1
evething captured
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Finale regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Yealink XML Phonebook entry
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
166
167
168
169
170
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
\s
*
(
[^
:
\s
]
+
\s
+
[^
:
\s
]
+
)
\s
*
(?:
\(
[^
()
]
*
\)
)?
:
\s
*
(
\S
*
)
\s
*
(
\w
+
)
/
Open regex in editor
Description
http://stackoverflow.com/questions/34674917/is-regex-a-costly-operation-it-seems-atleast
Submitted by
anonymous
-
9 years ago