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,600 community submitted regex patterns...
0
UK Postcode Checker
ECMAScript (JavaScript)
Checks for valid UK/British postcodes. A modified version of MaffooBristol's pattern that prevents a non-whitespace character being entered in between the two sections of the postcode. Works in PHP/JS ...
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
0
WhatsApp Message Regex
ECMAScript (JavaScript)
A regex to parse WhatsApp conversation files
Submitted by
anonymous
-
8 years ago
0
Phone number
ECMAScript (JavaScript)
A good enough, nonrigorous expression
Submitted by
rchfox
-
8 years ago
0
File Name (Windows)
ECMAScript (JavaScript)
Valid windows file name.
Submitted by
anonymous
-
8 years ago
0
Azure Virtual Machine password validation
ECMAScript (JavaScript)
Whether you're using Azure CLI or, more specifically, Azure SDK to create a Virtual Machine, you may want to validate the given credentials before sending a request to create the VM. Otherwise, it could cost to send a full request with invalid data. To do so, you can use this RegEx to validate your...
Submitted by
qho
-
5 years ago
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
-
4 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 9 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
-
2 years ago
(Last modified 2 years 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
1
...
76
77
78
79
80
...
180
user name between 2 and 30 character
0
Regular Expression
ECMAScript (JavaScript)
/
^
[
a
-
zA
-
Z
]
(
[
a
-
zA
-
Z0
-
9
]
{0,28}
|
[
a
-
zA
-
Z0
-
9
]
{0,26}
[
_.
]
?
[
a
-
zA
-
Z0
-
9
]
{0,26}
|
[
a
-
zA
-
Z0
-
9
]
{0,27}
[
_.
]
?
|
[
_.
]
?
[
a
-
zA
-
Z0
-
9
]
{0,27}
)
[
a
-
zA
-
Z0
-
9
]
$
/
mg
Open regex in editor
Description
regex for user name with criteria:
Minimum 2 character
Maximum 30 character
Character must be alphanumeric, except first character is alphabetical
Character "_" and "." is allowed once between first and last character
Submitted by
aicone.id
-
2 years ago
(Last modified 9 months ago)