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,460 community submitted regex patterns...
0
Group and split string between pipe delimiters
ECMAScript (JavaScript)
Please help! This is probably a very simple task for regex experts. I want to extract and group the fields before or after each pipe character |. 1234|text1|text2|text3|text4|text5 Expected result would be separate groups e.g.: 1234...
Submitted by
Grateful or dead
-
10 years ago
0
regex101-8846 on #regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
CNPJ - brazilian company identifier number
ECMAScript (JavaScript)
Matches CNPJ, which is an identification number issued to Brazilian companies.
Submitted by
Uilian Souza
-
10 years ago
0
HTML5 time entry regex
ECMAScript (JavaScript)
This regex can be used within a HTML5 input tag to ensure a time has been entered correctly such as 23:40 or 11:40 PM.
Submitted by
Scott Mebberson
-
10 years ago
0
Multiple matches in php but only one in javascript
ECMAScript (JavaScript)
I have used this regexp succesfully in php with flags gmU and have multiple matches. In js there is no U flag and this only returns last match. Is there anything I can do to make this work similarly in javascript?
Submitted by
yorogs
-
10 years ago
0
Anyone can help to generate the regular expression for the desc ?
ECMAScript (JavaScript)
Hi All, We got a database column which saving the table definition as patten string below. How can I extract the column & libelle information out of the string by using regular expression ? Thanks a lot ! c:{k:16:PERIODDEFINITION;c:{k:8:REVENUE1;c:{k:6:COLUMN;s:8:REVENUE1;k:7:LIBELLE;s:23:Revenue ...
Submitted by
anonymous
-
10 years ago
0
Number with two max possible decimals
ECMAScript (JavaScript)
For float type inputs.
Submitted by
Juanma - https://github.com/juanmaa1414
-
10 years ago
0
Detecta abreviaturas de tipo de personalidades juridicas
ECMAScript (JavaScript)
Detecta abreviaturas de tipo de personalidades juridicas, que habitualmente se encuentran en la razón social de una empresa, en el caso de Chile es obligatorio la razon social especifique que tipo de personalidad juridica es.
Submitted by
Edurdo Gómez
-
10 years ago
0
Ultimate url regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
does this work dms?
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Canadian Postal Code
ECMAScript (JavaScript)
3 Forms: H5H 5H5 H5H5H5 H5H-5H5
Submitted by
Christopher Dufort
-
9 years ago
0
Single xml tag close to separated
ECMAScript (JavaScript)
the tag must be a minumum of 3 characters long so we don't catch any BR, HR, etc.
Submitted by
Agent Codesmith
-
9 years ago
0
Password Policy
ECMAScript (JavaScript)
Based on the below password policy need a regex in java/javascript --Maximum Occurrence (Number of repeated Characters allowed): 1 --Minimum Alpha: 1 --Minimum Embedded Numeric: 1 --Minimum Length: 8...
Submitted by
Kannan SB
-
9 years ago
0
Name
ECMAScript (JavaScript)
Simple name matching Matches english names only, you may add international characters to list of characters.
Submitted by
Ehsan
-
9 years ago
0
TNEW Strong Password - 8 character limit
ECMAScript (JavaScript)
restricts passwords to 8+ characters
Submitted by
anonymous
-
9 years ago
0
IBAN
ECMAScript (JavaScript)
Italian IBAN
Submitted by
Italo
-
9 years ago
0
two matches with pipe
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
date format regex for MM/dd/yyyy in javascript
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
token
ECMAScript (JavaScript)
replace token like [foo:bar:ba zz]
Submitted by
anonymous
-
9 years ago
0
SharePoint File Name Vaidation
ECMAScript (JavaScript)
The file name validation algorithm from MS KB905231, I assumed the prohibited suffixes included the file extension. I.e. 'foo.doc.files' would not match but 'foo.files.doc' would.
Submitted by
David Nelson
-
9 years ago
1
...
4
5
6
7
8
...
173
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
(?:
(?:
[
a
-
f0
-
9
]
*
)?
:
){1,7}
[
a
-
f0
-
9
]
*
|
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
"
gmi
Open regex in editor
Description
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
2 years ago
(Last modified 2 years ago)