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 11,620 community submitted regex patterns...
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
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
catches text within paranthesis
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
URL Parse
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Chep/Loscam ID Validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Chep/Loscam Transfers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
replace divs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
perl {if condition} {else} {/if}
PCRE (PHP <7.3)
no description available
Submitted by
Z
-
8 years ago
1
lua
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
aaa
PCRE (PHP <7.3)
aaa
Submitted by
aa
-
8 years ago
1
...
468
469
470
471
472
...
581
IPv4 and port (optional) validator
1
Regular Expression
PCRE (PHP <7.3)
/
\b
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
){3}
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
(?:
:
[
0
-
9
]
{1,4}
)?
\b
/
Open regex in editor
Description
no description available
Submitted by
co_Opernicus
-
8 years ago