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,040 community submitted regex patterns...
2
Bitstream with not more than 4 repeating bits
PCRE (PHP <7.3)
0111100 will be matched whereas 0111110 will not. Change \1{4} to max repeating count. For max 9 repeating -> \1{9}
Submitted by
anonymous
-
9 years ago
2
ukrainian alphabet
PCRE (PHP <7.3)
no description available
Submitted by
benderlio
-
9 years ago
2
Date or N/A
ECMAScript (JavaScript)
Accepts Date or not applicable string.
Submitted by
Toufique Ahmed
-
9 years ago
2
string contains
PCRE (PHP <7.3)
no description available
Submitted by
mgaus
-
9 years ago
2
test
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Email Cleanup
PCRE (PHP <7.3)
Working on email link cleanup.
Submitted by
anonymous
-
9 years ago
2
extract hostname
PCRE (PHP <7.3)
extracts hostname from url
Submitted by
Kristine Poghosyan
-
9 years ago
2
problem for homework
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
extension libre office
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Observatorio do Trabalho
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Logix Designer tag operand
PCRE (PHP <7.3)
Locates valid Logix Designer tag operands
Submitted by
anonymous
-
9 years ago
2
FEN Regex
PCRE (PHP <7.3)
This will match an FEN string (https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation). It is not strict in having each rank separated by a '\' character, although it is strict in the order of characters for the Castling section. Anything not following the order of KQkq in the case where cas...
Submitted by
NazarioJL
-
9 years ago
2
Shortcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
UK phone number
PCRE (PHP <7.3)
UK phone number
Submitted by
Andrea SonnY
-
9 years ago
2
matching regex and boolean patterns in a string
PCRE (PHP <7.3)
no description available
Submitted by
haris
-
9 years ago
2
Match a specific CSV field.
PCRE (PHP <7.3)
Fields terminated by ';' even if the fields are surrounded by " does not accept newlines. Change the central qualifier to get the column. if you want the Xth field write X-1 and use the 3° mathing group OR write X and use the 2° match.
Submitted by
anonymous
-
9 years ago
2
kasd; fk.!@#$%^&*()*()%^&*()_
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
mystem
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
thy_reservation_flights
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
thy_reservations_names
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
869
870
871
872
873
...
902
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)