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...
-2
example
Python
match
Submitted by
anonymous
-
10 years ago
-2
RegEx within tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
Match substitutions
Python
Match regular expressions substitutions, I personally use this to perform my validate if it is a substitution, then call re.sub() on it.
Submitted by
Zarthus
-
10 years ago
1
Replace Commas Inside Quotes
PCRE (PHP <7.3)
Regex to remove commas within quotes. (Common situtaion in .csv files) Eg: data,"some ""embedded"" stuff,commas,inside,quotes",more Replace String would be something like this:...
Submitted by
Judd
-
10 years ago
-2
Version in Cordova config.xml
PCRE (PHP <7.3)
no description available
Submitted by
procek
-
10 years ago
2
haml attribute parsing
ECMAScript (JavaScript)
no description available
Submitted by
OnlineCop
-
10 years ago
1
Regex to detect HAML attribute expression whilst ignoring following text.
ECMAScript (JavaScript)
Can handle complex bracket expressions.
Submitted by
github.com/onlinecop
-
10 years ago
0
match text between two <br/> tags.
PCRE (PHP <7.3)
no description available
Submitted by
gordie
-
10 years ago
1
this
Python
stinks
Submitted by
anonymous
-
10 years ago
1
Captures entire log line that meet the criteria
Python
If you need to grab an entire log line based on criteria (error,warning,notice,info,debug), use this Regexp and change the parameters accordingly.
Submitted by
Neill Lima
-
10 years ago
0
Primjer regexa koji je potreban u jednom dijelu našeg sitea
PCRE (PHP <7.3)
Ovo je regex (regular expression - regularni izraz) koji parsira i usput validira broj naÅ¡eg predraÄuna.
Submitted by
Goran
-
10 years ago
1
Match a date in SQL Server format
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Remove /* comments */ from CSS
PCRE (PHP <7.3)
no description available
Submitted by
JerseyMilker
-
10 years ago
1
tesdsa
PCRE (PHP <7.3)
dsadsadsadsa
Submitted by
dasdasdsa
-
10 years ago
1
HTML color search
PCRE (PHP <7.3)
Searches for hex colors in HTML code.
Submitted by
Barlean
-
10 years ago
-2
Matching HTML attributes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
3
how to match both lines?
Python
f_name may contain spaces, numbers, characters,... so I would go for a but then I couldn't use [...]? anymore to match the second line?
Submitted by
anonymous
-
10 years ago
2
named group sample
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
background-image URL
PCRE (PHP <7.3)
regex to fetch the URL of the background-image CSS-Propertie
Submitted by
Mutator
-
10 years ago
1
Ping time
ECMAScript (JavaScript)
no description available
Submitted by
Tilman Griesel
-
10 years ago
1
...
884
885
886
887
888
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
[
\w
-
]
+
(
\.
[
\w
-
]
+
)*
@
[
\w
-
]
+
(
\.
[
\w
-
]
+
)*
(
\.
[
a
-
zA
-
Z
]
{2,}
)
$
/
gm
Open regex in editor
Description
Force email address
Submitted by
anonymous
-
2 years ago