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...
2
takie
PCRE (PHP <7.3)
no description available
Submitted by
sdfsdfdsf
-
11 years ago
2
Error in Refex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
2
Get dynamic parameters from an URL
PCRE (PHP <7.3)
Gets the parameters (how many you want) from a url and organize into groups
Submitted by
Caio Oliveira
-
11 years ago
2
SRT (SubRip) Parser
PCRE (PHP <7.3)
Matches id, timecode and text for multiple subtitles. Make sure the source ends with a blank line to capture the last subtitle.
Submitted by
Fergo
-
11 years ago
2
US Postal Code
ECMAScript (JavaScript)
refactor
Submitted by
jay johnson
-
11 years ago
2
Episode numbering below 100
PCRE (PHP <7.3)
Simplest form to match all the episode numbering versions I could remember that don't use incremental numberign without seasons.
Submitted by
SEKCobra
-
11 years ago
2
@import url(comments.css)
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
2
Palabras en mayúscula que no están después de un punto
Python
no description available
Submitted by
anonymous
-
11 years ago
2
more DISORTED EMAIL ADDRESSES
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
Repetitions
PCRE (PHP <7.3)
More than three words repeated in 3.
Submitted by
paconaranjo
-
11 years ago
2
Parasite subtitles
Python
no description available
Submitted by
Andrey Spiridonov
-
11 years ago
2
Match subset
PCRE (PHP <7.3)
no description available
Submitted by
Jason
-
10 years ago
2
Creditcard expiry date checker
PCRE (PHP <7.3)
Checks if a expiry date is: mm/yy. You still have to check if it is a valid expiry date timewise.
Submitted by
Pevawi
-
10 years ago
2
Javascript: howto get rid of resulting ""
ECMAScript (JavaScript)
Hey folks, I try to do smth like this: var s = 'this is a "" && "string constant" and this "is another" one', result = s.match(new RegExp('"{1}(.*?)"{1}', 'g')); console.log(result);...
Submitted by
anonymous
-
10 years ago
2
Match number in html
ECMAScript (JavaScript)
Prevent matching in markup attributes
Submitted by
Mathieu Civel
-
10 years ago
2
log4j log parsing
PCRE (PHP <7.3)
This pulls out all the fields in a log4j field. Suitable for use in a Logstash Grok pattern or similar
Submitted by
Robin Kearney
-
10 years ago
2
python regex
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Match 4chan thread URL
ECMAScript (JavaScript)
Matches a 4chan thread URL, see the examples
Submitted by
Zeke Sonxx <github.com/zekesonxx>
-
10 years ago
2
fail2ban real expression for w00tw00t
PCRE (PHP <7.3)
A real fai2ban expression for w00tw00t with alias substitution
Submitted by
MarcD
-
10 years ago
2
e164 format
ECMAScript (JavaScript)
e164 format
Submitted by
anonymous
-
10 years ago
1
...
39
40
41
42
43
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?i)(?m)
(?<!
[
a
-
z
]
|
\.
|
\.
\d
)
(?:
\d
{1,4}
)
(?:
[
.,
\s
]
\d
{3}
)*
(?:
[
.,
]
\d
{2}
)
(?!
\%
|
\d
|
\.
|
\s
\.
|
\s
cm
|
cm
|
pol
|
\s
pol
)
/
g
Open regex in editor
Description
Encontra qualquer preço presente num documento.
Submitted by
anonymous
-
7 years ago