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 3,580 community submitted regex patterns...
0
Egypt Phone Number Validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
FB payload
Golang
no description available
Submitted by
anonymous
-
4 years ago
0
IPv4 Valid RFC1918 Addresses
ECMAScript (JavaScript)
This will match valid IP addresses which are listed in RFC1918. 127.0.0.0 - 127.255.255.255 10.0.0.0 - 10.255.255.255 192.168.0.0 - 192.168.255.255 172.16.0.0 - 172.31.255.255
Submitted by
anonymous
-
3 years ago
0
Numeric value without decimal
ECMAScript (JavaScript)
Numeric value without decimal
Submitted by
anonymous
-
3 years ago
0
Test
ECMAScript (JavaScript)
Haiz
Submitted by
anonymous
-
3 years ago
(Last modified 8 months ago)
0
discord markdown
ECMAScript (JavaScript)
it checkes for discord markdown examples includes: italic bold...
Submitted by
padero
-
3 years ago
0
Discord emoji regex
ECMAScript (JavaScript)
Discod emoji regex
Submitted by
Xaliks
-
3 years ago
0
CSS font-face rules for embedded webfonts (base64-encoded woff/woff2)
ECMAScript (JavaScript)
var FONTFACE_PATTERN = /(?:^|)(?:(?<=(?:font-family[:] ?))'"['"]|(?<=(?:font-weight[:])) ?(.+?)|(?<=(?:font-style[:])) ?(.+?)|(?<=src: ?url[(])(?:['"]?data:(.+?);,[,])(.+?)(?:['"]?[)])(?:[\n\s ]?format((\S+)'"])?)(?:;)(?:|$)/mdg Rudimentary pattern for matching base64-embedded webfonts in CSS style...
Submitted by
Nicholas Berlette (@nberlette)
-
2 years ago
0
Turkish Phone Number
ECMAScript (JavaScript)
It matches all phone numbers in Turkey starting with country and area code. +902121111111 +90 2121111111 +90 212 1111111 +90 212 111 1111...
Submitted by
Erman Seneren
-
2 years ago
0
Base64 Image Data URI finder
ECMAScript (JavaScript)
The expression is intended for finding one or more embedded Base64 Data URI in an HTML document. It will not find matches for any HTML surrounding the encoded Data URI match ( tag or src attributes), just the encoded data and MIME header, all that's needed to decode. The MIME type is for images in ...
Submitted by
Attention Deficit Hyperactivity Disorder
-
a year ago
(Last modified a year ago)
0
Email Validation
ECMAScript (JavaScript)
invalid email abc abc.com valid email address abc@mail.com...
Submitted by
anonymous
-
a year ago
0
US phone, any standard format
ECMAScript (JavaScript)
Matches any standard, 10-digit US phone number formats
Submitted by
Atkin
-
a year ago
0
Simple CSS selectors
ECMAScript (JavaScript)
Matches all types of CSS selectors
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Regex to Ignore Emoji/Emoticons
ECMAScript (JavaScript)
Regex to Ignore Emoji/Emoticons and allows every character
Submitted by
vishalx06
-
a year ago
0
find a 6 lenght word with 2 consecutive digits
ECMAScript (JavaScript)
ragex solution for free code camp positive-and-negative-lookahead first assertion is (?=\w{6,}) where im matching for any char (a-z0-9_) and repeating the char matching 6 times, in other words, verifying that this word has 6 char being them a-z or digits. the second assertion was more difficult to...
Submitted by
gabriel silva lima
-
9 months ago
0
GET country, prefix extended
ECMAScript (JavaScript)
This regex match group (country & Prefix) Separated by spaces or \s+ ↓↓ Example ↓↓ Australia 61 Dominica 1 (767) República Dominicana 1 (809/829/849) ...
Submitted by
https://github.com/hzvvictor
-
8 months ago
(Last modified 8 months ago)
0
Sustitution of comments (one line) //
ECMAScript (JavaScript)
Sustitution of comments (one line) // Example ~ input (before) ↓↓ : // comment textplain other-text ...
Submitted by
hzvvictor: https://github.com/hzvvictor
-
8 months ago
(Last modified 8 months ago)
-3
Strict email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-1
Australian local and international mobile validation
ECMAScript (JavaScript)
no description available
Submitted by
Damien Capocchi
-
8 years ago
-1
Replace comma separated decimals (comma instead of point)
ECMAScript (JavaScript)
Matches, line by line, a comma separated list of decimal numbers with comma as decimal character (Spanish way) Produces a list of comma separated pairs (space separated innermost) of decimal numbers with point as decimal character (English way)
Submitted by
Bruno A. Castro
-
8 years ago
1
...
76
77
78
79
80
...
179
红胆拖蓝二段
0
Regular Expression
ECMAScript (JavaScript)
/
(?:
A
|
B
|
C
|
D
|
E
|
1
\)
|
2
\)
|
3
\)
|
4
\)
|
5
\)
){0,1}
(?:
\:
|
\.
|
\
){0,1}
[^
0
-
9
]
{0,2}
(
(?:
[
\d
]
{1,2}
[
\s
|
\+
]
{1}
){0,4}
[
\d
]
{1,2}
)
[
\s
]
{0,1}
\*
[
\s
]
{0,1}
(
(?:
[
\d
]
{1,2}
\+
[
\s
]
{0,2}
){0,98}
[
\d
]
{1,2}
)
(?!
[
\+
|
\-
|
\d
]
)
[
\s
]
{1,3}
(
(?:
[
\d
]
{1,2}
\+
){0,98}
[
\d
]
{1,2}
)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago