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 15,260 community submitted regex patterns...
1
FQDN Fully Qualified Domain Name
PCRE (PHP <7.3)
Allow only two or more labels. Fix deprecated FQDN regexp not passing on test "dicas-l.com.br"
Submitted by
Rafael Justo and Mauro Trajber
-
9 years ago
1
const uint8_t T_SYN_3 23
PCRE (PHP <7.3)
const uint8_t T_SYN_3 23 to const uint8_t T_SYN_3 = 23;
Submitted by
Big Chuck Dawg
-
9 years ago
1
#define const_value 4
PCRE (PHP <7.3)
#define const_value 4 to const uint8_t const_value 4
Submitted by
Big Chuck Dawg
-
9 years ago
1
Q_Property
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
OS Grid Reference
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Both equation side matcher
PCRE (PHP <7.3)
This is able to match both side of an equation.
Submitted by
Kerosene2000
-
9 years ago
1
equation matching (for javascript, without equal)
ECMAScript (JavaScript)
use this to get value of any side of an equation. You can combine this with https://regex101.com/r/fH5kJ1/1
Submitted by
Kerosene2000
-
9 years ago
1
syntaxic equation check
PCRE (PHP <7.3)
check if two operator follow and if two [xX] follow. You can combine this with https://regex101.com/r/qT7fO0/1
Submitted by
Kerosene2000
-
9 years ago
1
equation syntaxt check
PCRE (PHP <7.3)
easy syntax check for equation
Submitted by
Kerosene2000
-
9 years ago
1
dutch zipcode with named matching
PCRE (PHP <7.3)
no description available
Submitted by
Eelke van den Bos
-
9 years ago
1
search for if(<identifier>)
PCRE (PHP <7.3)
if(a)
Submitted by
anonymous
-
9 years ago
1
Select Path into an URL
PCRE (PHP <7.3)
no description available
Submitted by
alcaamado
-
9 years ago
1
Drupal regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Password secure but flexable
PCRE (PHP <7.3)
Must have at leat one number, at leat one capital letter, at least one lower case letter. Also you can have special characters !.@$%&+=-? if you want for extra security. This is not manditory. Change (?=.[a-z\!.@$%&*+=\-\?]) to (?=.[\!.@$%&+=\-\_?]) to make thees special characters manditory. No le...
Submitted by
strik009
-
9 years ago
1
find used npm modules
PCRE (PHP <7.3)
no description available
Submitted by
KhodeN
-
9 years ago
1
Italian Fiscal Code [Codice fiscale]
ECMAScript (JavaScript)
Codice fiscale italiano
Submitted by
Italo
-
9 years ago
1
Code Space Remover
PCRE (PHP <7.3)
Mathces unnecessary spaces in computer programs.
Submitted by
Loovjo
-
9 years ago
1
Basic usage for tel ESA
ECMAScript (JavaScript)
Is a simple regex for compare tel number of El Salvador (not use +503 or iquals)
Submitted by
nayosx
-
9 years ago
1
salary
ECMAScript (JavaScript)
Chinese salary input
Submitted by
taijia
-
9 years ago
1
...
522
523
524
525
526
...
763
Extract chat conversation
1
Regular Expression
PCRE (PHP <7.3)
/
\[
(?<time>
(?:
[
\d
]
+
\:
[
\d
]
+
:
[
\d
]
+
)
\s
+
(?:
AM
|
PM
)
)
(?:
\s
+
\|
\s
+
\w
+
\s
+
(?<edited>
(?:
[
\d
]
+
\:
[
\d
]
+
:
[
\d
]
+
)
\s
+
(?:
AM
|
PM
)
)
)?
\]
\s
+
(?<author>
\w
+
)
\:
\s
+
(?<message>
[
\w\s
,.
]
+
)
/
gm
Open regex in editor
Description
Simple regex to extract some chat conversation
Submitted by
anonymous
-
4 years ago