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...
1
Persian and English Title and Name and Address
ECMAScript (JavaScript)
it is a validator for name, title, address or any texts what need only accept persian-arabic alphabet and english. additional some characters like - ,
Submitted by
saebkhanzadeh
-
a year ago
1
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
a year ago
1
datime
PCRE2 (PHP >=7.3)
datetime
Submitted by
anonymous
-
a year ago
1
Google chat WebHook integration
PCRE2 (PHP >=7.3)
Regular match an URL integration to Google chat by WebHook
Submitted by
Vito Bryliano
-
a year ago
1
12 hour time
PCRE2 (PHP >=7.3)
Use this expression to validate a 12 hour time input
Submitted by
Amit Sharma
-
a year ago
1
Malaysian NRIC
PCRE2 (PHP >=7.3)
Strict Malaysian NRIC format check Version 2: Shorten with assertion
Submitted by
17Hieng
-
a year ago
(Last modified a year ago)
1
URL
PCRE2 (PHP >=7.3)
Support any types of URL for https and http protocol. http or https [optional] domain name [mandatory] file path [optional] query parameter [optional]
Submitted by
17Hieng
-
a year ago
(Last modified a year ago)
1
Custom Datetime Finder
PCRE2 (PHP >=7.3)
Determine date time parts
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Get text after parenthesis.
Python
This regular expression helps to get the strings of a line that comes after a parenthesis and a blank space. Could be useful with lines of text with or similar format of the APA citation style: Author (year) title
Submitted by
anonymous
-
a year ago
1
git-flow branch names
PCRE2 (PHP >=7.3)
This is the regex for our branch names.
Submitted by
stefanfrede
-
a year ago
1
URLs
ECMAScript (JavaScript)
A simple URL regex that can handle most "properly" formed URLs, and some URIs. It features named groups to easily destruct matches. URIs can use relative paths (../ and ./) to resources. Example (JavaScript) let url = "https://username:password@example.org:8080/path/to/resource?query=term&query=ter...
Submitted by
ephellon
-
a year ago
(Last modified 10 months ago)
1
CSS classes
ECMAScript (JavaScript)
This selects all (non crazy) CSS class in all valid scenarios
Submitted by
anonymous
-
a year ago
1
Match paths
PCRE2 (PHP >=7.3)
Match paths
Submitted by
os_niko
-
a year ago
1
RegEx for Treating Express Route
ECMAScript (JavaScript)
A Regex that can be applied over the following routes pattern: GET ^\/auth\/?(?=\/|$)/generate GET ^\/auth\/?(?=\/|$)/callback Applying it inside a code, it will get like this:...
Submitted by
HorselessName
-
a year ago
1
Prime number test
PCRE2 (PHP >=7.3)
Prime number test
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Get a canonical link from html page
PCRE2 (PHP >=7.3)
Gets the canonical link from a html page provided it has one
Submitted by
anonymous
-
a year ago
1
Find all text lines after simple time code
PCRE2 (PHP >=7.3)
Given a time code caption file (not standards compliant) use this script to match all lines following a time code line You can use this regex in Notepad++ to generate a new file that only contains the matches in the form of ^(?!\d:\d{2}+).+
Submitted by
Alexander Roberts
-
a year ago
1
Search disabled SSL verification
PCRE2 (PHP >=7.3)
Find SSLVerify = false
Submitted by
@Sergiomarotco
-
a year ago
1
IPv4+CIDR(optional)
Python
Strict validator for IPv4 with optional CIDR Disallows 00 in any octet
Submitted by
ophers
-
a year ago
1
QIF date from ISO format to French format
PCRE2 (PHP >=7.3)
Transforms an ISO date (YYY-MM-DD) into a French format date (DD/MM/YYYY). Substitute : D$3/$2/$1
Submitted by
Christian CROCHE
-
a year ago
1
...
32
33
34
35
36
...
902
Community Library Entry
1
Regular Expression
Java 8
"
^
(?!
.
*
(
(
^
\.
)
|
(
^\s
)
|
(
\.
$
)
|
(
\s$
)
|
[
\x00-\x1F\x7F
<>:
\"\/\\
|?*
]
|
(
(?i)
^
CON
$
|
^
PRN
$
|
^
AUX
$
|
^
NUL
$
|
^
COM
[
0
-
9
]
$
|
^
COM
[
\u00B9\u00B2\u00B3
]
$
|
^
LPT
[
0
-
9
]
$
|
^
LPT
[
\u00B9\u00B2\u00B3
]
$
)
)
)
.
*
$
"
mg
Open regex in editor
Description
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
a year ago