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,040 community submitted regex patterns...
0
match all #tag except specified
ECMAScript (JavaScript)
in the example, I'm matching all the #tags except *#thankyouburger *. very useful for when you want to strip out all but one tag
Submitted by
Pavel Dominguez
-
8 years ago
0
IP Address
PCRE (PHP <7.3)
Validate the structure of the IP address with suffix of red
Submitted by
anonymous
-
7 years ago
0
Phone number with dashes
PCRE (PHP <7.3)
Finds valid phone numbers, including dashes Valid: 223-444-5555 Invalid:...
Submitted by
anonymous
-
7 years ago
0
años extendido
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Remove Tabs and check for more than one word after search
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Find end digits of number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Find number before last 3 and add a comma
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
SAG - File download
PCRE (PHP <7.3)
\S\/(\/(download|getn|getnum|file)\.php)\?\S*
Submitted by
anonymous
-
7 years ago
0
Romanian Exact Match
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Find AEVA WebWiz self-referent links (working)
Python
Expression to locate AEVA Forum (http://forums.aeva.asn.au) internal links as part of a conversion process from WebWiz to phpBB This expression is currently working in this regex-tester, including picking up relative URLs Now excludes enclosing quotes for relative URLs ...
Submitted by
anonymous
-
7 years ago
-1
freeCodeCamp: Restrict Possible Usernames
PCRE (PHP <7.3)
Usernames are used everywhere on the internet. They are what give users a unique identity on their favorite sites. You need to check all the usernames in a database. Here are some simple rules that users have to follow when creating their username. 1) The only numbers in the username have to be at...
Submitted by
anonymous
-
7 years ago
0
Validate US Telephone Numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
FileManager
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Path File PT
PCRE (PHP <7.3)
Path de desígnio em português, aceita acentos espaçamentos e preenche os requisitos de um path em PT
Submitted by
anonymous
-
7 years ago
0
Capital Social
PCRE (PHP <7.3)
Encontra o valor do capital social descrito num documento
Submitted by
anonymous
-
7 years ago
0
Preços
PCRE (PHP <7.3)
Regex que concontra todo o tipo de preços descritos em formato de fatura universal.
Submitted by
anonymous
-
7 years ago
0
Preço Total
PCRE (PHP <7.3)
Procura o preço total de um documento se este se designar como tal.
Submitted by
anonymous
-
7 years ago
0
key value pairs
ECMAScript (JavaScript)
detect key value pairs in string with key having spaces
Submitted by
anonymous
-
7 years ago
0
key value pairs ends with character
ECMAScript (JavaScript)
detect key value pairs that ends with ; or & in a string contains sapaces
Submitted by
anonymous
-
7 years ago
-1
Passwords
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
1
...
423
424
425
426
427
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
-
?
(
0
(
b
(
[
01
]
+
(
\.
[
01
]
*
)?
|
\.
[
01
]
+
)
|
x
(
[
0
-
9a
-
f
]
+
(
\.
[
0
-
9a
-
f
]
*
)?
|
\.
[
0
-
9a
-
f
]
+
)
|
o
(
[
0
-
7
]
+
(
\.
[
0
-
7
]
*
)?
|
\.
[
0
-
7
]
+
)
)
(
p
[
+-
]
?
\d
+
)?
|
(
\d
+
(
\.
\d
*
)?
|
\.
\d
+
)
(
e
[
+-
]
?
\d
+
)?
)
$
/
i
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago