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
test
PCRE (PHP <7.3)
AttributeConnID 45524524355
Submitted by
anonymous
-
10 years ago
0
4shared
PCRE (PHP <7.3)
www.4shared.com
Submitted by
guru
-
10 years ago
0
teste
Python
tes
Submitted by
tes
-
10 years ago
0
111
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Regex to match sentences that sound like yelling
Python
Bob answers 'Whoa, chill out!' if you yell at him. You can use this regex to match regexes like "WHAT THE HELL WERE YOU THINKING?"
Submitted by
Chaiwa Berian
-
9 years ago
0
Beginning of word
PCRE (PHP <7.3)
When looking for day, Sunday should not be matched.
Submitted by
Ben
-
9 years ago
0
Find array ending with comma
PCRE (PHP <7.3)
Useful for finding array error. Example: {'id':'1','name':'test',} Finds the ",}" from the example
Submitted by
anonymous
-
9 years ago
0
replicated pageContent id within a div
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
email validation
Python
no description available
Submitted by
Yerko Palma
-
9 years ago
0
c
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
(\s)(\d{9})(\s)</
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Remove / delete / strip style attribute from html tags
PCRE (PHP <7.3)
This one removes ALL attributes if "style" is found. See my other expression to only remove the style.
Submitted by
socialblogsitewebdesign.com
-
9 years ago
0
Email parser, also distorted forms
Python
Parses email, also distorted ones, and convert them back to the real ones. It can recognize at maximum two dots notations, just add '.\5' at the end of the substitution string. Inspirated by dislick's work: https://regex101.com/r/wB7xJ7/1
Submitted by
fine_dust
-
9 years ago
0
two matches with pipe
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
token
ECMAScript (JavaScript)
replace token like [foo:bar:ba zz]
Submitted by
anonymous
-
9 years ago
0
SharePoint File Name Vaidation
ECMAScript (JavaScript)
The file name validation algorithm from MS KB905231, I assumed the prohibited suffixes included the file extension. I.e. 'foo.doc.files' would not match but 'foo.files.doc' would.
Submitted by
David Nelson
-
9 years ago
0
parse mysqldump INSERT statement field values (handles unescaping)
PCRE (PHP <7.3)
This will parse the fields portion of a mysqldump lines such as: INSERT INTO users VALUES (42,'Bob',12.34,NULL,'It\'s ok!');
Submitted by
Steve Shreeve
-
9 years ago
0
URL validation with http/https
PCRE (PHP <7.3)
URL validation with http/https
Submitted by
Gunjan
-
9 years ago
0
Key/Value pairs with multiline support
PCRE (PHP <7.3)
Key/Value pairs with multiline support
Submitted by
Alexander Krutov
-
9 years ago
0
A regex that tries to replace every instance in your site
PCRE (PHP <7.3)
For better exception capturing
Submitted by
anonymous
-
9 years ago
1
...
542
543
544
545
546
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
[
\w
]
+
)
\s
?
=
\s
?
(
[
-+
\s
]
*
?
(
[
0
-
9
]
*
\.
[
0
-
9
]
+
|
[
0
-
9
]
+
)
)?
(
[
-+
]
)*
(
[
Ss
]
in
|
[
Rr
]
amp
)
\(
(?:
FinalValue:
|
Amplitude:
)
(
[
-+
\s
]
*
?
(
[
0
-
9
]
*
\.
[
0
-
9
]
+
|
[
0
-
9
]
+
)
)
(
[
\w
]
*
)
,
(?:
Frequency:
|
RampTime:
)
(
[
0
-
9
]
*
\.
[
0
-
9
]
+
|
[
0
-
9
]
+
)
(
[
\w
]
*
)
\)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago