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 6,060 community submitted regex patterns...
0
Number matching RE
ECMAScript (JavaScript)
Optional plus or minus sign. Leading zero required for decimal number less than zero.
Submitted by
Mario Diana
-
10 years ago
0
Searching for bracketed fields and optional parameters
ECMAScript (JavaScript)
This is a quick test of how to add optional identifiers to a fieldname search in REDCap
Submitted by
Andy Martin
-
10 years ago
0
phone number (simple validate)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
omit data between single quotes
ECMAScript (JavaScript)
hi, i've been trying for hours to do this, i need to omit all text between single quotes / double quotes can someone help with this
Submitted by
avi.m
-
10 years ago
0
Find CSS Class with ability to replace
ECMAScript (JavaScript)
Changing class names is hard with a large codebase written in multiple languages. Classes can appear in several constructs. This tries to match the various ways a class can be represented in HTML. Plug the RegEx in to Sublime Text 2 using "Find in Files...". When replacing in ST2, change $1 to \1.
Submitted by
Matthew (@sirlancelot)
-
10 years ago
0
rr
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Telephone Number Simple
ECMAScript (JavaScript)
no description available
Submitted by
Nemesarial
-
10 years ago
0
first num after rgb
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
10 years ago
(Last modified a year ago)
0
regex101-4269
ECMAScript (JavaScript)
to share with IRC helpers
Submitted by
Bruno
-
9 years ago
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
-
9 years ago
0
regex101-8846 on #regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 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
-
9 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
-
9 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
-
9 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
-
9 years ago
0
Number with two max possible decimals
ECMAScript (JavaScript)
For float type inputs.
Submitted by
Juanma - https://github.com/juanmaa1414
-
9 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
-
9 years ago
0
Ultimate url regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
does this work dms?
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
6
7
8
9
10
...
303
HTML TAG WITH VALUE AND CHILDREN
1
Regular Expression
ECMAScript (JavaScript)
/
<
(?<first>
[^
>
]
+
)
>
.
*
?
<
\/
(
\k<first>
)
>
/
g
Open regex in editor
Description
This regex target each html tag with their children and their value
Submitted by
Florian Caron
-
2 years ago