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,020 community submitted regex patterns...
1
hs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
3
ISO 8601 date
PCRE (PHP <7.3)
Validates a date with ISO 8601 format. Source: http://www.pelagodesign.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/
Submitted by
anonymous
-
10 years ago
0
congratulation
PCRE (PHP <7.3)
very nice helper
Submitted by
fred
-
10 years ago
1
Guckst du!
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
foo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
sort -t "," -k4,4 -k1n,1 file_name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
test
ECMAScript (JavaScript)
test
Submitted by
test
-
10 years ago
2
Currency Amount
PCRE (PHP <7.3)
Format: x0.00 Valid: 13.37 4.20 1.00...
Submitted by
anonymous
-
10 years ago
10
Strip Email ID from Name
PCRE (PHP <7.3)
Use this regex to select all characters up to the "" bracket. It works across multiple lines. You can get an email list with only the IDs. This is the pattern it matches: Alpha Person Step 1 (.*) [$ Step 2 [$.$] (.*) gives you aperson@whatever.org...
Submitted by
Jonathan Davidar
-
10 years ago
1
кааа
PCRE (PHP <7.3)
ввв
Submitted by
в
-
10 years ago
1
(|(ou:dn:=a)(ou:dn:=b))
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Scrape SRC
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
rfc5646 simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Select id's in a HTML
PCRE (PHP <7.3)
This regexp was created to search all the id's in a HTML with the objective to clean the code and delete them.
Submitted by
Israel Sotomayor
-
10 years ago
0
http
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
IPv4
PCRE (PHP <7.3)
no description available
Submitted by
Jorge C.
-
10 years ago
3
youtube id match
PCRE (PHP <7.3)
youtube id 17 matches
Submitted by
Wiliam Castilhos, Ramon Barros
-
10 years ago
1
youtube id watch embed
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
indentation
Python
no description available
Submitted by
z
-
10 years ago
(Last modified a year ago)
13
Match Gmail Email
Recommended
PCRE (PHP <7.3)
Match Gmail Email
Submitted by
Óscar EnrÃquez
-
10 years ago
1
...
869
870
871
872
873
...
901
Community Library Entry
0
Regular Expression
Python
r"
^
(
cuda
)
(
:
\d
+
)?
$
"
gm
Open regex in editor
Description
Used for torch.device handling, so 'cuda' and 'cuda:0' both valid and can be used
Submitted by
Ilya Lubenets
-
2 years ago
(Last modified 2 years ago)