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...
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
84
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 a year 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
from Google-Maps
ECMAScript (JavaScript)
results all street-adresses from http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=
Submitted by
PierreSash
-
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
2
HTTP url parser
PCRE (PHP <7.3)
Parses a URL to the different parts
Submitted by
AmitK
-
10 years ago
1
Regular expression to remove all puncutation
Python
Removes all of the puncutation present inlcuding \n,\t,\r
Submitted by
Abhinav Gupta
-
10 years ago
1
Замена двойных кавычек (внутри кавычек) в названиÑÑ… организаций
ECMAScript (JavaScript)
О кавычках внутри кавычек ЕÑли внутри Ñлов, заключенных в кавычки, вÑтречаютÑÑ Ð´Ñ€ÑƒÐ³Ð¸Ðµ Ñлова, в Ñвою очередь заключенные в кавычки, рекомендуетÑÑ (при уÑловии, что д...
Submitted by
l-luk
-
10 years ago
1
blah
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
regex help
PCRE (PHP <7.3)
help please. i need regex,
Submitted by
James
-
10 years ago
1
MAtch all lines starting with # to remove em
PCRE (PHP <7.3)
no description available
Submitted by
Jactaest
-
10 years ago
1
...
885
886
887
888
889
...
901
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago