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. Click
here
to read more.
Community Patterns
Search among 15,200 community submitted regex patterns...
1
inline to external css
PCRE (PHP <7.3)
code for selection of specific classes.
Submitted by
junaid ahmad
-
8 years ago
1
URL Validator
PCRE (PHP <7.3)
It validates almost all URL.
Submitted by
Anil Goswami
-
8 years ago
1
EclipseKeywordDataMatches
ECMAScript (JavaScript)
matches keyword data
Submitted by
anonymous
-
8 years ago
1
3123123
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Match arbitary metadata in WordPress export XML
ECMAScript (JavaScript)
Allows for easy removal of metadata in WP export file
Submitted by
anonymous
-
8 years ago
1
Div
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Todos números de 4 digitos (como palabras)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Minecraft Username Matcher
PCRE (PHP <7.3)
Matches valid minecraft usernames, one per line
Submitted by
anonymous
-
8 years ago
1
123
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
select all chars after a certain char
PCRE (PHP <7.3)
Want to find and select all text to the end of each line that occures after a certain char (eg after "##").
Submitted by
luker
-
8 years ago
1
IPv4 Addresess
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
JSON Matching
ECMAScript (JavaScript)
Match numerical value of a JSON key. Numbers only 3-9
Submitted by
anonymous
-
8 years ago
1
BASH comments with space preceeding
PCRE (PHP <7.3)
no description available
Submitted by
Brendan
-
8 years ago
1
validate text message
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Minecraft Username Matcher
PCRE (PHP <7.3)
A regex that matches valid Minecraft usernames
Submitted by
glen3b
-
8 years ago
1
NOT STREET
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Delete Blank Lines
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Human name (European)
PCRE (PHP <7.3)
Match most European human names.
Submitted by
Alexander Stepanov
-
8 years ago
1
WebVTT group detection
PCRE (PHP <7.3)
no description available
Submitted by
CAmax
-
8 years ago
1
luaSplit
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
536
537
538
539
540
...
760
Slug
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?!
-
)
(
(?:
[
a
-
z0
-
9
]
+
-
?
)+
)
(?<!
-
)
$
/
gm
Open regex in editor
Description
Matches alphanumeric slugs without repeating dashes
Submitted by
Óscar Enríquez
-
9 years ago