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 18,000 community submitted regex patterns...
0
Names
PCRE (PHP <7.3)
For US names
Submitted by
anonymous
-
9 years ago
0
ip
Python
ip-adreese
Submitted by
anonymous
-
9 years ago
0
(554) 555 55 55
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Match 24H time
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Xml Parser!
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. --- Apply same pattern on capture group #3 (using recursion) to parse entire xml! --- Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
0
message postcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Oktavian regex [1]
PCRE (PHP <7.3)
trans replace
Submitted by
Oktavian Master
-
8 years ago
0
Spine Label Regex
ECMAScript (JavaScript)
LC spine label parsing
Submitted by
Dan Pearl
-
8 years ago
0
Regex to match lines having string1 and not having string3
PCRE (PHP <7.3)
no description available
Submitted by
Vivek Shah
-
8 years ago
0
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
IP adress or masks
PCRE (PHP <7.3)
Match any IP adress or Subnet masks and split all bytes in capture groups
Submitted by
SkullPand4
-
8 years ago
0
IPv4 addresses that don't match RFC1918
PCRE (PHP <7.3)
Matches publicly available IPv4 addresses (excludes 10., 172.16-32, and 192.168 blocks).
Submitted by
anonymous
-
8 years ago
0
Line match
ECMAScript (JavaScript)
Regex to match any no of lines
Submitted by
noby nirmal
-
8 years ago
0
Validates argentinian telephone numbers
Python
To validate a number with this regular expression is mandatory to have the number group with only digits. You can modify the number group to accept spaces, hyphens, and dots with something like this: (?P[\d\-\.]+). Valid examples +54 9 11 50165564 54 2268 201232 15 50165564...
Submitted by
Agustín Bouillet
-
8 years ago
0
date dd.mm.yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Test N°1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Number with optional decimal part
ECMAScript (JavaScript)
This regex checks for numbers with optional decimal part.
Submitted by
Pratik Sanyal
-
8 years ago
0
Newline matcher
Python
new line matcher
Submitted by
anonymous
-
8 years ago
0
Number Ranges
ECMAScript (JavaScript)
Select number ranges dynamically
Submitted by
@yosefh
-
8 years ago
0
Phone Number
ECMAScript (JavaScript)
For phone numbers with country code(Optional)followed by 10 digit phone number.
Submitted by
Kshama
-
8 years ago
1
...
356
357
358
359
360
...
900
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(
(
19
|
[
2
-
9
]
[
0
-
9
]
)
[
0
-
9
]
[
0
-
9
]
)
-
(
(
(
0
[
1
-
9
]
|
1
[
012
]
)
-
(
0
[
1
-
9
]
|
1
[
0
-
9
]
|
2
[
0
-
8
]
)
)
|
(
(
0
[
13578
]
|
1
[
02
]
)
-
(
29
|
30
|
31
)
)
|
(
(
0
[
4,6,9
]
|
11
)
-
(
29
|
30
)
)
)
)
|
(
(
19
|
[
2
-
9
]
[
0
-
9
]
)
(
00
|
04
|
08
|
12
|
16
|
20
|
24
|
28
|
32
|
36
|
40
|
44
|
48
|
52
|
56
|
60
|
64
|
68
|
72
|
76
|
80
|
84
|
88
|
92
|
96
)
-02-29
)
$
/
gm
Open regex in editor
Description
Start from 1900-01-01
Submitted by
anonymous
-
4 months ago