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
Community Patterns
Search among 17,060 community submitted regex patterns...
1
match 8 character device name with restrictions
ECMAScript (JavaScript)
Charset is: 0 1 2 3 4 5 6 7 8 9 - _ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z Rules for string:...
Submitted by
anonymous
-
8 years ago
1
SI
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
YouTube video url and ID
PCRE (PHP <7.3)
$match[0] - full url $match[1] - ID only
Submitted by
Denis Efremov
-
8 years ago
1
VK Video url check and get ID
PCRE (PHP <7.3)
$match[0] - full url $match[1] - just id
Submitted by
Denis Efremov
-
8 years ago
1
дом
Python
no description available
Submitted by
anonymous
-
8 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
-
8 years ago
1
teste
PCRE (PHP <7.3)
teste
Submitted by
teste
-
8 years ago
2
Logix Designer tag operand
PCRE (PHP <7.3)
Locates valid Logix Designer tag operands
Submitted by
anonymous
-
8 years ago
1
parse ssh url
PCRE (PHP <7.3)
no description available
Submitted by
lem
-
8 years ago
2
Observatorio do Trabalho
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
withagen SKU
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Find the second word
PCRE (PHP <7.3)
Find the second word in a string. EX string: "First Second Third" The output will be: Second
Submitted by
oxido
-
8 years ago
1
C# Generic Parameters
ECMAScript (JavaScript)
no description available
Submitted by
andy cunningham
-
8 years ago
1
catches text within paranthesis
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Get Email Address from string
ECMAScript (JavaScript)
no description available
Submitted by
Google
-
8 years ago
1
https://
PCRE (PHP <7.3)
no description available
Submitted by
VM
-
8 years ago
1
PHP URL Regex
PCRE (PHP <7.3)
no description available
Submitted by
Max Maxymenko
-
8 years ago
2
extension libre office
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
FDQN
ECMAScript (JavaScript)
no description available
Submitted by
Pratheesh ps
-
8 years ago
2
problem for homework
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
...
685
686
687
688
689
...
853
Validate a Particular File Extension
4
Regular Expression
PCRE (PHP <7.3)
/
(?i:
^.
*
\.
(
xls
|
xlsx
|
doc
|
docx
)
$
)
/
Open regex in editor
Description
Validates a File Path and makes sure the correct extension is at the end.
Submitted by
Andrew Morpurgo
-
9 years ago