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 3,120 community submitted regex patterns...
0
Valid Emmet Candidate before Expansion
PCRE2 (PHP >=7.3)
ul>(li2>a{link$@-})2 is a valid string that can be expanded by Emmet, while `` is not.
Submitted by
Chattille
-
a year ago
(Last modified a year ago)
1
终端控制序列
PCRE2 (PHP >=7.3)
匹配终端控制序列
Submitted by
anonymous
-
a year ago
1
Sri Lankan NIC Validation Regex - Sri Lanka - National Identity Card Number Validation Regex
PCRE2 (PHP >=7.3)
Extract the Data from Sri Lankan National Identity Card The SL NIC could be divided into two groups, Before 2016 (9 alphanumeric digits with one English letter) After 2016 (12 alphanumeric digits) ...
Submitted by
Aadhil Ahamed (Find me on GitHub: https://github.com/AadhilMR)
-
a year ago
0
HTML5 email regex
PCRE2 (PHP >=7.3)
Source Mozilla.
Submitted by
anonymous
-
a year ago
0
RegEx for matching PDF files in browser
PCRE2 (PHP >=7.3)
Made for my niche use of adding it to match either PDF files that being viewed directly from a website or when viewed from your local computer. This was done so that I can add it on my usercontent.css file in Firefox with the @-moz-document url-prefix
Submitted by
Benji The Doggy
-
a year ago
(Last modified a year ago)
0
Attribute value
PCRE2 (PHP >=7.3)
eeee
Submitted by
Me
-
a year ago
0
AT+ - Image
PCRE2 (PHP >=7.3)
parse at+ syntax
Submitted by
Carsten
-
a year ago
0
Retrieve all number version from tag
PCRE2 (PHP >=7.3)
This regex will retrieve all number in a given tag
Submitted by
Marc Masure
-
a year ago
0
Remove .html from url
PCRE2 (PHP >=7.3)
I used in Nginx to rewrite the location from http://example.com/about.html to http://example.com/about
Submitted by
Vijay Amirtha Raj J
-
a year ago
1
Extract schema and domain from URI.
PCRE2 (PHP >=7.3)
Doesn't work on domains that include dashes (after the dash).
Submitted by
Roke Julian Lockhart Beedell
-
a year ago
0
telegram links
PCRE2 (PHP >=7.3)
.
Submitted by
AC Lover
-
a year ago
(Last modified a year ago)
1
Single line of .env file
PCRE2 (PHP >=7.3)
Parse a single line of a .env file From repo dotenv - source code here.
Submitted by
Mot (https://github.com/motdotla)
-
a year ago
0
CUIT Argentina sin guiones
PCRE2 (PHP >=7.3)
CUIT Argentina sin guiones
Submitted by
Lucas David Ferrero
-
a year ago
0
All Strings for same-lines, Syntax or Parsing
PCRE2 (PHP >=7.3)
All Strings on One Line Php java javascript python escapes all regex...
Submitted by
kai gouthro
-
a year ago
(Last modified a year ago)
0
international telephone number incl. european notation
PCRE2 (PHP >=7.3)
international telephone number incl. european notation
Submitted by
Florian Ledeboer
-
a year ago
0
request_uri_no_qs
PCRE2 (PHP >=7.3)
Regular expression used to get the encoded URI portion of the $request_uri when unencoded $uri breaks a reverse proxy. map $request_uri $request_uri_no_qs { "~^(?+)\?(?:.*)?" $m; default $request_uri; } `
Submitted by
jpatton@gmail.com
-
a year ago
1
in-addr.arpa to IPv4
PCRE2 (PHP >=7.3)
Converts in-addr.arpa hostnames to IPv4 e.g. 1.0.0.127.in-addr.arpa to 127.0.0.1
Submitted by
BitesizedLion
-
a year ago
0
Match Australian Adresses
PCRE2 (PHP >=7.3)
This Regex Matches Australian Adresses
Submitted by
anonymous
-
a year ago
0
Catch packages from 'tdnf list' output
Golang
Every valid line will be of the form: . . . NOTE: the distribution tag is expected to start with at least one letter and be followed by at least one digit.
Submitted by
anonymous
-
a year ago
0
Extracting data from Authorization header
PCRE2 (PHP >=7.3)
Handful regex for parsing Authorization, WWW-Authenticate etc. headers
Submitted by
Alex Furnica
-
a year ago
1
...
33
34
35
36
37
...
156
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?=
\S
*
[
a
-
z
]
)
(?=
\S
*
[
A
-
Z
]
)
(?=
\S
*
[
0
-
9
]
)
(?=
\S
*
[
[:punct:]
|§µ¤£¨
]
)
\S
{8,}
$
/
gm
Open regex in editor
Description
1 caractère minuscule minimum
1 caractère majuscule minimum
1 chiffre minimum
1 caractère spécial minimum
pas d'espace
8 caractères minimum en tout
Submitted by
Sofiane
-
2 years ago