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 9,640 community submitted regex patterns...
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
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
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
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
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
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
replace only inner text without tag element
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
2
vk.com wall
PCRE (PHP <7.3)
Parse 123_123 http://vk.com/id82702078?w=wall82702078_3386 http://vk.com/wall82702078_3386 http://vk.com/club34073863?w=wall-34073863_28647 http://vk.com/wall-34073863_28647
Submitted by
by xzotix
-
10 years ago
2
PO Box Address Validation
PCRE (PHP <7.3)
no description available
Submitted by
mrferos
-
10 years ago
2
#Set-Cookie:\\s+(?<cookie>[^=]+=[^;]+)#m regex explanation
PCRE (PHP <7.3)
no description available
Submitted by
Igor
-
10 years ago
2
Extract Metadata
PCRE (PHP <7.3)
no description available
Submitted by
kai_desu
-
10 years ago
2
Matches first word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
catch options
PCRE (PHP <7.3)
catch options
Submitted by
Marek R
-
10 years ago
2
Simple Telephone number(America/Canada)
PCRE (PHP <7.3)
Accepts spaces or not 1234567890 123 456 7890
Submitted by
Christopher Dufort
-
10 years ago
2
BZWBK24 SMS Code
PCRE (PHP <7.3)
no description available
Submitted by
maniekq
-
10 years ago
2
foreach
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
21
22
23
24
25
...
482
Community Library Entry
0
Regular Expression
Java 8
"
(?<=
suppl/
)
(
.
*
(?:
pdf
|
doc
|
xml
)
)
"
Open regex in editor
Description
Regex to get only information in the SUPPL subdirectory
Submitted by
O'Connor
-
2 years ago
(Last modified 2 years ago)