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 17,580 community submitted regex patterns...
0
regex for flight policies
PCRE2 (PHP >=7.3)
'nls__Cancellation permitted 03 Hrs before scheduled departure __nls Within 03-72 hrs INR 3,500 or 100% of airfare charge (whichever is lower) nls Before 72 hrs INR 3,000 or 100% of airfare charge (whichever is lower)' this is my string I want everything between nls and nls or nls and INR
Submitted by
anonymous
-
a year ago
0
exclude square brackets
PCRE2 (PHP >=7.3)
exclude square brackets
Submitted by
tarek
-
a year ago
0
Laughter
ECMAScript (JavaScript)
Matches all laughter like: hahahahhhahahahha hahha ahah lol lolollolll...
Submitted by
Prozilla
-
a year ago
0
Egyptian Phone Numbers
ECMAScript (JavaScript)
Validate Egyptian phone numbers ... Read More (Arabic)
Submitted by
Mahmoud Mostafa
-
a year ago
(Last modified a year ago)
0
Egyptian National ID
ECMAScript (JavaScript)
This validates the components of the Egyptian national ID ... See details (Arabic)
Submitted by
Mahmoud Mostafa
-
a year ago
1
string substitution in bash behaving differently from PCRE(PHP<7.3>
PCRE (PHP <7.3)
question about bash not returning expected results, the same result as this saved regex returns here
Submitted by
anonymous
-
a year ago
0
shift_factor
Python
extracting constraint id from composed column header
Submitted by
Dario Romero
-
a year ago
1
match eslint packages other than next.js
ECMAScript (JavaScript)
This could be used to group eslint stuff in renovate config for a next.js project. Since you're intended to keep eslint-plugin-next at the same version as next itself, you would want to group it with next instead. Using negative lookahead we can ignore eslint-config-next (or anything else you may wi...
Submitted by
Mitsunee
-
a year ago
(Last modified a year ago)
0
List of lists of numbers (no leading zeros)
Python
List of lists of numbers (no leading zeros)
Submitted by
anonymous
-
a year ago
0
strip host port
PCRE (PHP <7.3)
removes port number from URL
Submitted by
pc
-
a year ago
0
Regular expression Regix for Iranian mobile phone numbers
PCRE2 (PHP >=7.3)
Regular expression Regix for Iranian mobile phone numbers
Submitted by
anonymous
-
a year ago
0
Regex range date
PCRE2 (PHP >=7.3)
\b((?:19|20)\d{2})-(0[1-9]|1[0-2])-(0[1-9]|12|3[01])\b
Submitted by
Ziuzhang
-
a year ago
0
Password (Numeric, Special Char, Uppercase, Lowercase)
PCRE2 (PHP >=7.3)
Password Regex with minimum contain one Numeric, Special Char, Uppercase, Lowercase
Submitted by
yvnt
-
a year ago
0
Username (Alphanumeric Only)
PCRE2 (PHP >=7.3)
Alphanumeric Only (Uppercase + Lowercase + Numeric) Not support special character.
Submitted by
yvnt
-
a year ago
0
Martch Letras y Parentesis
Java 8
Martch Letras y Parentesis
Submitted by
Daniel Gonzalez
-
a year ago
0
YouTube link parser
PCRE2 (PHP >=7.3)
Validate an URI to YouTube video.
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Windows File With Double Extension
PCRE2 (PHP >=7.3)
This can be used for threat hunting. It will look for valid file names that have a double extension that can be used to trick people. Ex: Invoice.pdf.exe
Submitted by
Todd A Danko
-
a year ago
0
Patent Number part extraction
PCRE2 (PHP >=7.3)
Patent Number part extraction (Country Code + Number + Kind Code)
Submitted by
anonymous
-
a year ago
0
Etiquetas de HTML
PCRE2 (PHP >=7.3)
Ejercicio 3. Diseño de expresión regular asignada y autómata finito Equipo: MAD
Submitted by
anonymous
-
a year ago
0
vscode-f5 xc reserved ports issue #209
ECMAScript (JavaScript)
https://github.com/f5devcentral/vscode-f5/issues/209
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
...
31
32
33
34
35
...
879
printf C99
0
Regular Expression
PCRE2 (PHP >=7.3)
/
%
(?'flag'
[
-0+
#
]
{0,3}
)
(?'minwidth'
[
0
-
9
]
*
)
(?'comma'
\.
)?
(?'precision'
(?('comma')
[
0
-
9
]
*
)
)
(?'length'
[
hlqLjzZt
]
|
ll
|
hh
)?
(?'type'
[
dscuobS%nfeEgGaACDiIOUpXx
]
{1}
)
/
gm
Open regex in editor
Description
A regex that matches the printf C99 standard
Submitted by
renardfute
-
a year ago