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,020 community submitted regex patterns...
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
чуваку Ñ Ð¾Ñ‚Ð²ÐµÑ‚Ð¾Ð²
ECMAScript (JavaScript)
он веÑÑŒ день мучалÑÑ Ð½Ð°Ð´ Ñ‡ÐµÑ‚Ñ‹Ñ€ÑŒÐ¼Ñ Ñимволами
Submitted by
Alex
-
10 years ago
-2
Header `Link` validator
ECMAScript (JavaScript)
no description available
Submitted by
Vaseker
-
10 years ago
1
include case
PCRE (PHP <7.3)
How to include the matched cases in the result?
Submitted by
anonymous
-
10 years ago
-3
Number
ECMAScript (JavaScript)
Gets all numbers in a string. This includes positive and negative numbers aswell as integers and floats. By: http://www.benlorantfy.com/
Submitted by
Ben
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
(krishna)
ECMAScript (JavaScript)
() invalid, (k) valid, (kr123) valid. only () is invalid
Submitted by
krishna
-
10 years ago
1
extract JavaScript function name (corrected for specials)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
extract JavaScript function name
ECMAScript (JavaScript)
Extracts the name of the outer function. Useful to get the name of a function reference using fn.toString().
Submitted by
Jack A.
-
10 years ago
1
Usability request
PCRE (PHP <7.3)
implement vi keys PLEASE
Submitted by
maurice.sprauge@gmail.com
-
10 years ago
0
Remove litteral \n
Python
This regex remove \n like litteral string not a newline
Submitted by
Nkio
-
10 years ago
1
torstatus.blutmagie.de list parser
Python
parse most column for tor exit nodes.
Submitted by
bandoche
-
10 years ago
1
ytr
ECMAScript (JavaScript)
ytr
Submitted by
ytr
-
10 years ago
1
stripping annotations from pre-NewsML transcripts
PCRE (PHP <7.3)
no description available
Submitted by
Brian D'Astous
-
10 years ago
1
...
884
885
886
887
888
...
901
Community Library Entry
0
Regular Expression
Python
r"
\D
+
(
[
0
-
9
]
/
[
0
-
9
]
|
.
)
\s
+
(
\d
+
\.
\d
+
\.
\d
+
\.
\d
+
|
unngiged
)
\s
+
(
YES
|
NO
)
\s
+
\D
{4,}
\s
+
[
A
-
Za
-
z
]
{2,}
\s
+
[
A
-
Za
-
z
]
{2,}
\s
+
"
gm
Open regex in editor
Description
\D+([0-9]/[0-9]|.)\s+(\d+.\d+.\d+.\d+|unngiged)\s+(YES|NO)\s+\D{4,}\s+[A-Za-z]{2,}\s+[A-Za-z]{2,}\s+
Submitted by
anonymous
-
2 years ago