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 15,160 community submitted regex patterns...
0
urls and emails
PCRE (PHP <7.3)
no description available
Submitted by
Matthew O'Riordan
-
10 years ago
0
Fetch file information using File URL.
PCRE (PHP <7.3)
Get information from File URL such as, Extension. Parent folder name. Drive name. File name.
Submitted by
-Harshal.Ahire (ahireharshal@gmail.com)
-
10 years ago
0
(sub)domain match
PCRE (PHP <7.3)
1.Tree of subdivisions may have up to 127 levels. 2.Each label may contain up to 63 characters. 3.The full domain name may not exceed the length of 253 characters in its textual representation. rfc1035 rfc1123 rfc2181
Submitted by
Nick Chkhikvishvili
-
10 years ago
0
HTML5 time entry regex
ECMAScript (JavaScript)
This regex can be used within a HTML5 input tag to ensure a time has been entered correctly such as 23:40 or 11:40 PM.
Submitted by
Scott Mebberson
-
10 years ago
0
TCP/UDP port number
PCRE (PHP <7.3)
validates TCP/UDP port number (1..65535)
Submitted by
sanchox
-
10 years ago
0
Multiple matches in php but only one in javascript
ECMAScript (JavaScript)
I have used this regexp succesfully in php with flags gmU and have multiple matches. In js there is no U flag and this only returns last match. Is there anything I can do to make this work similarly in javascript?
Submitted by
yorogs
-
10 years ago
0
23
PCRE (PHP <7.3)
23
Submitted by
23
-
9 years ago
0
Password Policy
ECMAScript (JavaScript)
Based on the below password policy need a regex in java/javascript --Maximum Occurrence (Number of repeated Characters allowed): 1 --Minimum Alpha: 1 --Minimum Embedded Numeric: 1 --Minimum Length: 8...
Submitted by
Kannan SB
-
9 years ago
0
test
Python
test
Submitted by
boag
-
9 years ago
0
Matching lines that starts with -
PCRE (PHP <7.3)
It may be useful inorder to replace those lines with li
Submitted by
Said Bakr
-
9 years ago
0
Any mail address
PCRE (PHP <7.3)
Any mail address
Submitted by
Himalay
-
9 years ago
0
XML 1.0 dateTime values
Python
dateTime type matching regex for XML 1.0
Submitted by
DervishD
-
9 years ago
0
extract sql statements from sql profiler trace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
TNEW Strong Password - 8 character limit
ECMAScript (JavaScript)
restricts passwords to 8+ characters
Submitted by
anonymous
-
9 years ago
0
str with whitespace not starting with space
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Not Empty String
PCRE (PHP <7.3)
Match a not-empty string. A string with only spaces or no characters is an empty-string. When match something, mathc all the string with the exception of the eventually space at the and
Submitted by
Luca
-
9 years ago
0
date format regex for MM/dd/yyyy in javascript
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
file extension
ECMAScript (JavaScript)
get the file extension of a given filename
Submitted by
Simon Taylor
-
9 years ago
0
find link to profile in VK html message
ECMAScript (JavaScript)
поиск в тексте всех ссылок на профили пользователей вконтакте. ссылки вида [id12345678|Name]
Submitted by
MixApp
-
9 years ago
0
/[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
479
480
481
482
483
...
758
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
(?:
[
A
-
Za
-
z0
-
9+
]
+
)
(?:
[
._-
]
{1}
[
A
-
Za
-
z
]
+
)*
)
(
[
._-
]
{1}
(?:
[
+
-
_
\d
A
-
Za
-
z.
]
*
)*
)*
$
/
gm
Open regex in editor
Description
Splitting Additionalname in Basename and Specification
Submitted by
JK
-
a year ago
(Last modified a year ago)