Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 9,620 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-07-10 18:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Usability request
PCRE (PHP <7.3)
implement vi keys PLEASE
Submitted by
maurice.sprauge@gmail.com
-
9 years ago
2014-07-09 05:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
stripping annotations from pre-NewsML transcripts
PCRE (PHP <7.3)
no description available
Submitted by
Brian D'Astous
-
9 years ago
2014-07-02 17:01
0
3 upvotes, 3 downvotes (score 18.8%) (You must be signed in to vote)
Replace one or more 'br' tags with a single space.
PCRE (PHP <7.3)
no description available
Submitted by
James Furey
-
9 years ago
2014-07-02 16:33
0
41 upvotes, 41 downvotes (score 39.4%) (You must be signed in to vote)
URL matching
PCRE (PHP <7.3)
Complete url matching with storage of various parameters
Submitted by
hjpotter92
-
9 years ago
2014-07-02 06:34
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
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)
-
9 years ago
2014-06-26 07:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
youtube links in wp/embed context
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-06-25 22:13
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
google result li item
PCRE (PHP <7.3)
Trying to output http://www.fs.usda.gov/malheur or thereabouts
Submitted by
ape
-
9 years ago
2014-06-24 18:19
4
20 upvotes, 16 downvotes (score 39.6%) (You must be signed in to vote)
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
-
9 years ago
2014-06-24 11:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
đâs
PCRE (PHP <7.3)
ddấdadasdasd
Submitted by
anonymous
-
9 years ago
2014-06-24 07:52
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Minecraft Entity Target Splitter
PCRE (PHP <7.3)
Regex to match part of minecraft command entity targets
Submitted by
aziis98
-
9 years ago
2014-06-23 23:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
9 years ago
2014-06-23 17:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
filter tags and select text in between.
PCRE (PHP <7.3)
You can use it as a language selector.
Submitted by
koko
-
9 years ago
2014-06-23 12:20
2
5 upvotes, 3 downvotes (score 30.6%) (You must be signed in to vote)
HTTP url parser
PCRE (PHP <7.3)
Parses a URL to the different parts
Submitted by
AmitK
-
9 years ago
2014-06-23 09:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
blah
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-06-19 07:04
-3
2 upvotes, 5 downvotes (score 8.2%) (You must be signed in to vote)
regex help
PCRE (PHP <7.3)
help please. i need regex,
Submitted by
James
-
9 years ago
2014-06-18 21:07
1
5 upvotes, 4 downvotes (score 26.7%) (You must be signed in to vote)
MAtch all lines starting with # to remove em
PCRE (PHP <7.3)
no description available
Submitted by
Jactaest
-
9 years ago
2014-06-17 08:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test_task_regexp_3
PCRE (PHP <7.3)
no description available
Submitted by
i.kulzazhenko
-
9 years ago
2014-06-16 19:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
34 ile 3982 nolu özelliklerin seçimi
PCRE (PHP <7.3)
Kemik Grubu
Submitted by
Hakan YILMAZER
-
9 years ago
2014-06-14 17:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
42 school post cutter
PCRE (PHP <7.3)
This regex cut informations from post of the 42 school
Submitted by
Kerosene2000
-
9 years ago
2014-06-12 20:43
1
...
468
469
470
471
472
473
474
...
481
42 school post cutter
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
e
(
[
0
-
9
]
)
r
(
[
0
-
9
]
{1,2}
)
p
(
[
0
-
9
]
{1,2}
)
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
Kerosene2000
-
9 years ago
2014-06-12 20:43