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 4,840 community submitted regex patterns...
0
gcodetest1
Python
no description available
Submitted by
anonymous
-
5 years ago
0
nytimes project
Python
str = str[:-1] split on "/" if "/" in str
Submitted by
anonymous
-
5 years ago
0
asicseer
Python
##91.101.203.129.generic-hostname.arrownet.dk\StainedFilthyBareAvians.txt using this guide: https://asicseer.com/page/kb#writing-config global poolname1 sha.eobot.com:3333 global username1 eobot.1930455 global poolpass1 x...
Submitted by
anonymous
-
5 years ago
0
asicseer
Python
##91.101.203.129.generic-hostname.arrownet.dk\StainedFilthyBareAvians.txt using this guide: https://asicseer.com/page/kb#writing-config global poolname1 sha.eobot.com:3333 global username1 eobot.1930455 global poolpass1 x...
Submitted by
anonymous
-
5 years ago
0
JDBC mysql string
Python
no description available
Submitted by
anonymous
-
5 years ago
0
FAR w/ Month, Year
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Process
Python
no description available
Submitted by
anonymous
-
5 years ago
0
(?<!\d|\.)((\d\.\d|\d)(?!\d|\.\d)[^\d,;.]+?listening)
Python
no description available
Submitted by
anonymous
-
5 years ago
0
exclude dirs
Python
This will match some common directories that you might not want to sync using rsync, gscutil rsync etc
Submitted by
anonymous
-
5 years ago
0
sudo transform
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Python UUID in full (str) and compact (hex) form
Python
Python regex used to parse a UUID in its full form (36 chars, including hyphens in 12-4-4-4-12 form), and its compact 32 char form (derived from uuid.hex). This regex was originally created for a Django url converter that supported uuids in both forms.
Submitted by
anonymous
-
5 years ago
0
worldfootball.net epg
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Taiwan Address regex
Python
no description available
Submitted by
cys0941
-
5 years ago
0
telegraf.conf
Python
no description available
Submitted by
anonymous
-
5 years ago
0
https://regex101.com/r/edPG4P/1
Python
needs to be modified for use in python by this code example note use of {3 } and additional parenthesis around the import re nigeRegex = re.compile(r'((\d{3}-)?\d{3}-\d{4}(,)?){3}') nigeRegex.search('My numbers are 415-555-1234,555-4242,212-555-0000')
Submitted by
anonymous
-
5 years ago
0
https://regex101.com/r/edPG4P/1
Python
needs to be modified for use in python by this code example note use of {3 } and additional parenthesis around the import re nigeRegex = re.compile(r'((\d{3}-)?\d{3}-\d{4}(,)?){3}') nigeRegex.search('My numbers are 415-555-1234,555-4242,212-555-0000')
Submitted by
anonymous
-
5 years ago
0
Dates
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Списки
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Домены
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Time Sync Regex
Python
Returns the value of an epoch time sync with a time reference
Submitted by
anonymous
-
5 years ago
1
...
96
97
98
99
100
...
242
IP Address
0
Regular Expression
Java 8
"
^
(
(?:
[
01
]
[
0
-
9
]
{0,2}
|
(?:
2
(?:
5
[
0
-
5
]
{0,1}
|
[
0
-
4
]
[
0
-
9
]
{0,1}
|
[
6
-
9
]
{0,1}
)
)
|
[
3
-
9
]
[
0
-
9
]
{0,1}
)
\.
){3}
(?:
[
01
]
[
0
-
9
]
{0,2}
|
(?:
2
(?:
5
[
0
-
5
]
{0,1}
|
[
0
-
4
]
[
0
-
9
]
{0,1}
|
[
6
-
9
]
{0,1}
)
)
|
[
3
-
9
]
[
0
-
9
]
{0,1}
)
$
"
gm
Open regex in editor
Description
IP Address RegEx
Submitted by
anonymous
-
2 years ago