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 5,020 community submitted regex patterns...
0
URL Domain Capture
Python
A Python capture group for URL domain extraction.
Submitted by
DataQuest
-
3 years ago
0
Phone number
PCRE2 (PHP >=7.3)
It works like it looks, a plus followed by 1 or 2 digits, followed by a standard 10 digit phone number
Submitted by
Brady Kelly
-
3 years ago
1
Parse Data Fields
Python
Parsing example
Submitted by
anonymous
-
3 years ago
0
Day, year and month regex
PCRE2 (PHP >=7.3)
This regex allows to match date format with the same separators
Submitted by
Cymon
-
3 years ago
0
Match CamelCase
PCRE2 (PHP >=7.3)
Matches PascalCase or CamelCase
Submitted by
anonymous
-
3 years ago
0
IPv4 non zero first and last octet
PCRE2 (PHP >=7.3)
When validating an IPv4 address I often have to reject devices that the first and last octet are 0.
Submitted by
John Cutburth
-
3 years ago
0
nr_classe
PCRE2 (PHP >=7.3)
separação de um código numérico simples
Submitted by
anonymous
-
3 years ago
0
month with year extraction
Python
ready code
Submitted by
anonymous
-
3 years ago
0
General regular expressions
PCRE2 (PHP >=7.3)
General
Submitted by
Stavros
-
3 years ago
0
Database_Data_Type
PCRE2 (PHP >=7.3)
Database_Data_Type
Submitted by
anonymous
-
3 years ago
0
PCRE2 ipv6
PCRE2 (PHP >=7.3)
Some cases of ipv6 at string begin
Submitted by
anonymous
-
3 years ago
0
LinkedIn School Username
PCRE2 (PHP >=7.3)
x
Submitted by
anonymous
-
3 years ago
1
Worlde helper
PCRE2 (PHP >=7.3)
simple, just adjust that: contains letters "l z n" (probably can be simplified but I dont know how) exlude anywhere "rtuasgc" dictionary taken from wordle JS file
Submitted by
anonymous
-
3 years ago
0
Yandex music track regex
Python
Regex for yandex music track
Submitted by
anonymous
-
3 years ago
0
提取src
PCRE2 (PHP >=7.3)
提取src
Submitted by
anonymous
-
3 years ago
0
Last 4 charecters
PCRE2 (PHP >=7.3)
This regex allows you to access the last 4 charecters in a string and manipulate them however you want
Submitted by
anonymous
-
3 years ago
0
Find two matching group
Python
Find two matching groups
Submitted by
anonymous
-
3 years ago
0
quote
PCRE2 (PHP >=7.3)
quote text
Submitted by
anonymous
-
3 years ago
0
HTML TAG Match
PCRE2 (PHP >=7.3)
Match a html tag.
Submitted by
Fernando Gaston Olivera Alaniz
-
3 years ago
1
CSV quotation mark
PCRE2 (PHP >=7.3)
See quotes that are not delimiters
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
...
113
114
115
116
117
...
251
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
.
*
\s
(
[^
\s
]
+
)
\s
[
0
-
9
\-
]
{5,}
/
gm
Open regex in editor
Description
বাক্যের মাঝ থেকে শুধু স্টেটের নামটি নিবে
Submitted by
anonymous
-
3 years ago