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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 11,500 community submitted regex patterns...
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
include case
PCRE (PHP <7.3)
How to include the matched cases in the result?
Submitted by
anonymous
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
stripping annotations from pre-NewsML transcripts
PCRE (PHP <7.3)
no description available
Submitted by
Brian D'Astous
-
10 years ago
0
Replace one or more 'br' tags with a single space.
PCRE (PHP <7.3)
no description available
Submitted by
James Furey
-
10 years ago
0
URL matching
PCRE (PHP <7.3)
Complete url matching with storage of various parameters
Submitted by
hjpotter92
-
10 years ago
2
xbmc - videodevil - chaturbate - test
Python
no description available
Submitted by
anonymous
-
10 years ago
81
Distinguish torrent files (series vs movies)
Python
A neat regex for finding out whether a given torrent name is a series or a movie. Returns the full name of the series with the separator needed to make it pretty (ie, replace it with space or what you want). Also returns the season number or the year for the movie/series, depending on what was prev...
Submitted by
Firas Dib
-
10 years ago
(Last modified 9 months ago)
0
Removes comments from css files
PCRE (PHP <7.3)
This regexp removes comments from css (text/css) files (multiline)
Submitted by
Ray (alrays@yandex.ru)
-
10 years ago
1
youtube links in wp/embed context
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
google result li item
PCRE (PHP <7.3)
Trying to output http://www.fs.usda.gov/malheur or thereabouts
Submitted by
ape
-
10 years ago
4
Element's Attribute Value in XML (simple)
PCRE (PHP <7.3)
Simple regular expression for extracting attribute value of the element in XML-string. Attribute value should be in quotes.
Submitted by
Nikita Danilov
-
10 years ago
1
đâs
PCRE (PHP <7.3)
ddấdadasdasd
Submitted by
anonymous
-
10 years ago
2
Minecraft Entity Target Splitter
PCRE (PHP <7.3)
Regex to match part of minecraft command entity targets
Submitted by
aziis98
-
10 years ago
1
SO: http://stackoverflow.com/questions/24371462/writing-regex-according-to-char/24371542#24371542
PCRE (PHP <7.3)
no description available
Submitted by
Eder Quiñones
-
10 years ago
2
filter tags and select text in between.
PCRE (PHP <7.3)
You can use it as a language selector.
Submitted by
koko
-
10 years ago
1
...
561
562
563
564
565
...
575
Out of
0
Regular Expression
Python
r"
[
a
-
z0
-
9
%
\-\+
:
\/
]
*
\b
(
\d
{1,3}
\.
?
\d
{0,4}
)
\.
?
[
a
-
z0
-
9
\(\)
]
*
out
of
[
a
-
z
]
*
(
\d
{1,3}
\.
?
\d
{0,4}
)
\.
?
.
*
"
gm
Open regex in editor
Description
Out of
Submitted by
anonymous
-
2 years ago