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,040 community submitted regex patterns...
-2
username in url
PCRE (PHP <7.3)
should start with letter follow by letters and numbers and (-) - zero or more can't start or finish with (-) can't have two or more consecutive (-) char
Submitted by
Ali Azmoude
-
9 years ago
-2
twitter ids
ECMAScript (JavaScript)
no description available
Submitted by
jaybill
-
9 years ago
-2
Select the numeric part of a price following an ascii dollar sign
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
JSON KEY VALUE
PCRE (PHP <7.3)
Get key value in json string
Submitted by
Marcio Paiva Barbosa
-
9 years ago
-2
twitter usernames
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
filter
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
Word ending with colon
ECMAScript (JavaScript)
no description available
Submitted by
hj
-
9 years ago
-2
Mathematical Expressions
PCRE (PHP <7.3)
ValidatesMathematical Expressions. Ignores whitespace. Includes parenthesis matching.
Submitted by
Jeremy Friesen
-
9 years ago
-2
HTML <script> regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
find mp3 file
ECMAScript (JavaScript)
find mp3 file embeded in a link
Submitted by
ogerly
-
9 years ago
-2
Match XML that has a single root element
PCRE (PHP <7.3)
Can be used as a basic validator to ensure that XML has only a single root element
Submitted by
Jerome Wilson
-
9 years ago
-2
Numbers separated by comma and whitespace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
match all html tags
PCRE (PHP <7.3)
http://haacked.com/archive/2004/10/25/usingregularexpressionstomatchhtml.aspx/
Submitted by
anonymous
-
9 years ago
-2
SQL Comment
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
match wordpress plugins [plugin_name ...]...[/plugin]
PCRE (PHP <7.3)
no description available
Submitted by
chris backhouse
-
9 years ago
-2
Remove updir tokens from url
PCRE (PHP <7.3)
Remove /../ recursively from urls
Submitted by
santiagoarizti@gmail.com
-
9 years ago
-2
LogFile Alert: Pattern 'Memory queue for message type 1: 3038' found i
PCRE (PHP <7.3)
LogFile Alert: Pattern 'Memory queue for message type 1: 3038' found in /var/log/me
Submitted by
anonymous
-
9 years ago
-2
ex_3_b
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
MYSQL DateTime validator (leap year support)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Prosed OFX DateTimeType pattern for v.2.1.1+
Python
no description available
Submitted by
Oleg Sakharov karpuscul@gmail.com
-
9 years ago
1
...
530
531
532
533
534
...
902
Community Library Entry
-2
Regular Expression
PCRE (PHP <7.3)
/
<
(?<key>
[^
>
]
+
)
>
(?<value>
[^
<
]
+
)
<
\/
\1
>
/
sg
Open regex in editor
Description
Basic XML key-value extraction
Submitted by
Keith Muggleton
-
9 years ago