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
Community Patterns
Search among 9,220 community submitted regex patterns...
1
Does not match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Get src in img
PCRE (PHP <7.3)
Get src in img
Submitted by
Andy
-
9 years ago
1
hex string
PCRE (PHP <7.3)
match 00aabbcc... or 00:aa:bb:cc...
Submitted by
minji
-
9 years ago
1
Extract names of XML attributes that have values
PCRE (PHP <7.3)
Extracts attribute names from an XML file and presents them as a simple list. Affects only the attributes that have values. Ignores the "parent" attributes (that have no values but have nested attributes).
Submitted by
O.Khilkevych / D.Mrachkovsyi
-
9 years ago
1
YouTube ID Capture
PCRE (PHP <7.3)
Works on "*youtube.com" urls, as well as "youtu.be" urls
Submitted by
Lucanos
-
9 years ago
1
regex words
PCRE (PHP <7.3)
get all words related to regex
Submitted by
anonymous
-
9 years ago
1
Web page URL
PCRE (PHP <7.3)
Validates an URL of a web page
Submitted by
Heinrich Reimer
-
9 years ago
1
Empty string test
PCRE (PHP <7.3)
Regular for testing empty strings for validation purpose
Submitted by
anonymous
-
8 years ago
1
Camel case string splitter
PCRE (PHP <7.3)
Splits CamelCase single string into separate strings. Can be used for transforming CamelCase to snake_case. Also works with numbers and capital letter shortcuts (e.g SomeWTFVariable1).
Submitted by
Nicolas
-
8 years ago
1
Xml/html regex
PCRE (PHP <7.3)
Common regex for use with xml/html files
Submitted by
wonzbak
-
8 years ago
1
FFXIV Lodestone Character profile
PCRE (PHP <7.3)
Parses full url up to character page. Ignores http:// and anything after character ID
Submitted by
JaveLiner
-
8 years ago
1
Strip Specific HTML Tags
PCRE (PHP <7.3)
Strip specific HTML tags from a string—opposite of PHP's strip_tags(). Replace letter 'p' with your tag name. Using PHP preg_replace(), example: preg_replace('/(]>)(.?)()|(]*>)/i', '$2', $string);
Submitted by
Zachary Beschler
-
8 years ago
1
Country Code
PCRE (PHP <7.3)
no description available
Submitted by
SB
-
8 years ago
1
Regex to match any JSON value with fewer steps possible
PCRE (PHP <7.3)
If you find... any JSON value that should be matched but isn't, any JSON value that should NOT be matched but is or simply a way to match the values with fewer steps... please, let me know.
Submitted by
anonymous
-
5 years ago
1
Detects hiragana, katakana, kanji and japanese alphabet
Recommended
PCRE (PHP <7.3)
Detects hiragana, katakana, kanji and japanese alphabet
Submitted by
anonymous
-
3 years ago
0
Markdown Inline Link to HTML Anchor
PCRE (PHP <7.3)
Extracts title and link from Markdown inline link to be placed into an HTML anchor tag.
Submitted by
Mike Johnson
-
10 years ago
0
Password strength check
PCRE (PHP <7.3)
Checks password for following attributes: At least 2 uppercase letters At least 2 lowercase letters At least 2 numbers At least 2 non-alphanumeric characters ...
Submitted by
Visigral
-
9 years ago
-2
posix
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-1
Substitutin
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
...
27
28
29
30
31
...
461
Phone number library
0
Regular Expression
PCRE (PHP <7.3)
/
^
\+
[
1
-
9
]
\d
{6,13}
$
/
gm
Open regex in editor
Description
Number must start from + and end with a number.
Number can be 7 to 15 digit long including + sign in length.
Starting with + and leading 0 is not allowed.
Submitted by
anonymous
-
5 years ago