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 2,880 community submitted regex patterns...
0
CUIT Argentina sin guiones
PCRE2 (PHP >=7.3)
CUIT Argentina sin guiones
Submitted by
Lucas David Ferrero
-
10 months ago
0
All Strings for same-lines, Syntax or Parsing
PCRE2 (PHP >=7.3)
All Strings on One Line Php java javascript python escapes all regex...
Submitted by
kai gouthro
-
10 months ago
(Last modified 10 months ago)
0
international telephone number incl. european notation
PCRE2 (PHP >=7.3)
international telephone number incl. european notation
Submitted by
Florian Ledeboer
-
10 months ago
0
request_uri_no_qs
PCRE2 (PHP >=7.3)
Regular expression used to get the encoded URI portion of the $request_uri when unencoded $uri breaks a reverse proxy. map $request_uri $request_uri_no_qs { "~^(?+)\?(?:.*)?" $m; default $request_uri; } `
Submitted by
jpatton@gmail.com
-
10 months ago
1
in-addr.arpa to IPv4
PCRE2 (PHP >=7.3)
Converts in-addr.arpa hostnames to IPv4 e.g. 1.0.0.127.in-addr.arpa to 127.0.0.1
Submitted by
BitesizedLion
-
10 months ago
0
Match Australian Adresses
PCRE2 (PHP >=7.3)
This Regex Matches Australian Adresses
Submitted by
anonymous
-
10 months ago
0
Catch packages from 'tdnf list' output
Golang
Every valid line will be of the form: . . . NOTE: the distribution tag is expected to start with at least one letter and be followed by at least one digit.
Submitted by
anonymous
-
10 months ago
0
Camel-Case Splitter (preserves Acronyms)
.NET 7.0 (C#)
Splits camel-case string and preserves acronyms
Submitted by
Tyler S.
-
10 months ago
0
Extracting data from Authorization header
PCRE2 (PHP >=7.3)
Handful regex for parsing Authorization, WWW-Authenticate etc. headers
Submitted by
Alex Furnica
-
10 months ago
0
minecraft commands. mcfunction syntax commands detection.
PCRE2 (PHP >=7.3)
finds every command in 1st group and subcommands in 2nd group. excludes every comments, and matches command even if it has spaces in the beginning. This exact regex is used for datapackhub.net datapack mcfunction downgrader.
Submitted by
anonymous
-
10 months ago
2
Discord Username (old & new)
PCRE2 (PHP >=7.3)
Accomodate for Discord's username changeover and match against either the old username or the new username. But only one or the other. Match: CesarHvl#9000 cesarhvl cesar.hvl...
Submitted by
cesarhvl
-
10 months ago
0
Metal Gear 3 Word Book
PCRE2 (PHP >=7.3)
Word Book of Metal Gear 3.
Submitted by
Sanperish
-
10 months ago
1
identify and extract Laravel-style route parameters
PCRE2 (PHP >=7.3)
Extracts a table/model name, and optionally a column name. Enforces well-formed parameters. Tested with /category/{aYes:bYes}/{cYes}/{dNo:}/{eNo:/{:fNo}
Submitted by
Martin Holt
-
10 months ago
0
Trim part of filename to limit length
PCRE2 (PHP >=7.3)
Truncate the middle block in the filename if it exceeds the maximum length and leave constant blocks at the beginning and end
Submitted by
Andrey Smirnov
-
10 months ago
0
Busca parametros função
PCRE2 (PHP >=7.3)
Busca os parametros de uma função
Submitted by
anonymous
-
10 months ago
0
best2bee topic standard
PCRE2 (PHP >=7.3)
Submitted by
anonymous
-
10 months ago
0
routestate
PCRE2 (PHP >=7.3)
pathfinder routestate logs are unreadable
Submitted by
anonymous
-
10 months ago
0
RFC-3339
PCRE2 (PHP >=7.3)
A regex to validate RFC-3339 timestamps
Submitted by
anonymous
-
10 months ago
0
檢查密碼是否符合要求
PCRE2 (PHP >=7.3)
長度在12到30個字符之間; 至少包含一個小寫字母; 至少包含一個大寫字母; 至少包含一個數字; 至少包含一個特殊符號(如!@#$%^&*()_+{}|:"?[];',./`~-)。
Submitted by
SCL
-
10 months ago
0
Signals
PCRE2 (PHP >=7.3)
Replace Signal
Submitted by
RedFox Regex
-
10 months ago
1
...
17
18
19
20
21
...
144
phone number middle number parsing
1
Regular Expression
Java 8
"
^\d
{3}
\-
(
\d
{4}
)
\-
\d
{4}
$
"
gm
Open regex in editor
Description
middle number parsing regex
Submitted by
anonymous
-
2 years ago