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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,620 community submitted regex patterns...
2
Twitter user profile url pattern
PCRE (PHP <7.3)
Pattern that check your string to match Twitter user profile URL.
Submitted by
JSC Quatrodev
-
9 years ago
2
YouTube Iframe parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
END on new line
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Remove script tags from code
PCRE (PHP <7.3)
Regular expression to remove only the tags from the code. The regular expression only removes the tags, not the JS code inside the tag.
Submitted by
IvenMS
-
8 years ago
2
Select first letter of words
PCRE (PHP <7.3)
Selects first letter of space separted word with exceptions. This allows bypassing 's and such. Forcing separating charter can be set at [\s&\/] $1: separating part...
Submitted by
anonymous
-
8 years ago
2
js function test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
Hello world example
PCRE (PHP <7.3)
no description available
Submitted by
Fedir RYKHTIK
-
11 years ago
2
takie
PCRE (PHP <7.3)
no description available
Submitted by
sdfsdfdsf
-
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
-
10 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
-
10 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
-
10 years ago
2
@import url(comments.css)
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
10 years ago
2
more DISORTED EMAIL ADDRESSES
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
Repetitions
PCRE (PHP <7.3)
More than three words repeated in 3.
Submitted by
paconaranjo
-
10 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
-
9 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
-
9 years ago
1
...
553
554
555
556
557
...
581
Finding a string along with a few other words
2
Regular Expression
PCRE (PHP <7.3)
/
from:
\s
*
(
[
0
-
9
\-
\s
:
]
+
)
,
\s
*
to:
(
[
0
-
9
\-
\s
:
]
+
)
,
\s
*
downtime:
\s
*
(
[
0
-
9
\s
hms
]
+
)
/
gmi
Open regex in editor
Description
no description available
Submitted by
A.K. Asik
-
10 years ago