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.
Become a sponsor today!
Community Patterns
Search among 7,880 community submitted regex patterns...
0
1111
PCRE2 (PHP >=7.3)
czxdzxddzxvxcdvsdzvszdvszd
Submitted by
anonymous
-
3 years ago
0
PEM Key File Headers
ECMAScript (JavaScript)
Match OpenSSL defined PEM key headers https://github.com/openssl/openssl/blob/master/include/openssl/pem.h
Submitted by
clarkttfu
-
3 years ago
0
ATST_RESTRICTED
ECMAScript (JavaScript)
ATST_RESTRICTED
Submitted by
anonymous
-
3 years ago
0
legal
PCRE2 (PHP >=7.3)
legal
Submitted by
anonymous
-
3 years ago
0
contentful
PCRE2 (PHP >=7.3)
contentful
Submitted by
anonymous
-
3 years ago
0
YouTube video URL to video ID
Python
This regex can match with a valid YouTube link and retrieve the video ID in one of the four capturing groups. Unfortunately, I couldn't manage to use a single capturing group, but there is no difference between all of them.
Submitted by
Lyroy TheToad
-
3 years ago
(Last modified 3 years ago)
0
Interesante
ECMAScript (JavaScript)
Obtener Texto
Submitted by
Asura
-
3 years ago
0
Select progress from given text
PCRE2 (PHP >=7.3)
https://regex101.com/r/bbccFV/1
Submitted by
anonymous
-
3 years ago
0
Separate Autocomplete Fields
ECMAScript (JavaScript)
Autocomplete Fields Regex
Submitted by
anonymous
-
3 years ago
0
Wordpress ShorCode capture
PCRE2 (PHP >=7.3)
Regex to capture shortcodes from wordpress post content
Submitted by
dares
-
3 years ago
0
Convert giphy iframes to images
PCRE2 (PHP >=7.3)
regex to convert giphy iframes to images giphy for newsletters
Submitted by
dares
-
3 years ago
0
Remove parameters from gif images urls
PCRE2 (PHP >=7.3)
.
Submitted by
dares
-
3 years ago
0
Replace line breaks and lines like "James 5:00 PM" to clean up messages copied from slack (iPFAnO/2)
PCRE2 (PHP >=7.3)
Before I recommend XMind 8 and not the newer XMind Zen (I have not tried XMind 2021). It is available here: xmind.net/download/xmind8 (edited) :heavy_plus_sign: 1...
Submitted by
Maksim Zinovev
-
3 years ago
0
ISO style date
PCRE2 (PHP >=7.3)
yyyy/mm/dd
Submitted by
Russ Ferriday - from a Docusign template
-
3 years ago
0
Extracting Multiline Address
PCRE2 (PHP >=7.3)
Extracts multiline address into individual parts
Submitted by
anonymous
-
3 years ago
0
Nextcloud client log line parse
PCRE2 (PHP >=7.3)
Splits the parts of a line in the log of the Nextcloud sync client into usable fragments
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Senha forte
ECMAScript (JavaScript)
Regex simples para verificação de senha forte: /^ (?=.*\d) // deve conter ao menos um dígito (?=.*[a-z]) // deve conter ao menos uma letra minúscula...
Submitted by
anonymous
-
3 years ago
0
Regex Test on Slashes
Python
A regex test for filepaths.
Submitted by
anonymous
-
3 years ago
0
Host sanity check
PCRE2 (PHP >=7.3)
Super dumb sanity check for valid host
Submitted by
anonymous
-
3 years ago
0
version and folder remove script line at html
ECMAScript (JavaScript)
version and folder remove script line at html
Submitted by
anonymous
-
3 years ago
1
...
286
287
288
289
290
...
394
Indian number plate lenient validator (for transformation) (vehicle registration number)
0
Regular Expression
PCRE2 (PHP >=7.3)
/
\b
(
[
A
-
Z
]
{2}
)
[^
A
-
Z0
-
9
]
*
?
(
[
0
-
9
]
{1,2}
)
[^
A
-
Z0
-
9
]
*
?
(
[
A
-
Z
]
{0,3}
)
[^
A
-
Z0
-
9
]
*
?
(
[
0
-
9
]
{4}
)
\b
/
gi
Open regex in editor
Description
lenient validator (for transformation)
/\b([A-Z]{2})[^A-Z0-9]*?([0-9]{1,2})[^A-Z0-9]*?([A-Z]{0,3})[^A-Z0-9]*?([0-9]{4})\b/i
Matches 4 groups like:
RJ
02
FG
5343
Will match:
RJ03QH3918
RJ 03QH 3918
RJ-03-QH-3918
MP,,,03-QH3998
Will not match:
MP,,01,03-QH3998
MP03QH399998
Submitted by
Birla
-
2 years ago
(Last modified 2 years ago)