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...
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
-2
Date YYYYMMDD
PCRE (PHP <7.3)
Date in format YYYYMMDD Year between [1900-2099] No leap year check but month 02 is limited to 29 days.
Submitted by
Ahmed Z
-
10 years ago
0
Find all list items
PCRE (PHP <7.3)
I need to find the fastest expression to get all the list items inside a an put the items inside an array. input: ...
Submitted by
Sonny
-
10 years ago
-1
for checking code number 1111/111111111
Python
no description available
Submitted by
dejv
-
10 years ago
0
Bad comma puctuation
ECMAScript (JavaScript)
Just an example for a guy wanting to check space before comma
Submitted by
anonymous
-
10 years ago
1
Reading only the "=" symbol
PCRE (PHP <7.3)
The pattern should match only the "=" symbols with in the html content other than the HTML attributes. i.e if we have Sample head This is a test a=b=c=d or a = b = c The pattern should match only "=" outside the html tags
Submitted by
Dilip
-
10 years ago
1
question regarding "split" like regex group
PCRE (PHP <7.3)
dear all, i am a regex beginner, so please be gentle :) we have lines of log contents delimited by a pipe char. is it possible to fetch the content between the 5th and the 6th delimiter, ignoring the values in between? example log line:...
Submitted by
regexBeginner
-
10 years ago
1
regex int
PCRE (PHP <7.3)
var pattern='/^0-9{0,6}$/'; /* int match 9 digit */ /** ^ starting point 1st [0-9] number should be start between 0 to 9 2nd [0-9] number should be end between 0 to 9 3nd {0-6} number length should be exact 6 digit...
Submitted by
sudhir k gupta
-
10 years ago
0
split on dollar sign
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
884
885
886
887
888
...
902
Community Library Entry
1
Regular Expression
Python
r"
^
(
.
*
?
)
\t
(
.
*
?
)
\t
(
.
*
?
)
\s
(
m
|
km
|
AU
)
$
"
x
Open regex in editor
Description
stinks
Submitted by
anonymous
-
10 years ago