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 5,780 community submitted regex patterns...
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
-
a year ago
0
Latin Character ranges
ECMAScript (JavaScript)
Latin Character ranges
Submitted by
anonymous
-
a year ago
0
Metal Gear 3 Word Book
PCRE2 (PHP >=7.3)
Word Book of Metal Gear 3.
Submitted by
Sanperish
-
a year 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
-
a year ago
0
Extracting data from Authorization header
PCRE2 (PHP >=7.3)
Handful regex for parsing Authorization, WWW-Authenticate etc. headers
Submitted by
Alex Furnica
-
a year ago
0
Find last word and space of string
ECMAScript (JavaScript)
Foo Bar
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Match Australian Adresses
PCRE2 (PHP >=7.3)
This Regex Matches Australian Adresses
Submitted by
anonymous
-
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
0
Валидность телефона Российской Федерации форматов "+7", "7", "8"
ECMAScript (JavaScript)
Работает с форматами +7, 7, 8 Варианты валидации любые.
Submitted by
anonymous
-
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
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
CUIT Argentina sin guiones
PCRE2 (PHP >=7.3)
CUIT Argentina sin guiones
Submitted by
Lucas David Ferrero
-
10 months ago
0
telegram links
PCRE2 (PHP >=7.3)
.
Submitted by
AC Lover
-
10 months ago
(Last modified 10 months ago)
0
Remove .html from url
PCRE2 (PHP >=7.3)
I used in Nginx to rewrite the location from http://example.com/about.html to http://example.com/about
Submitted by
Vijay Amirtha Raj J
-
10 months ago
0
Bangladeshi phone numbers
ECMAScript (JavaScript)
Matches all Bangladeshi SIM numbers
Submitted by
Mushfiq Talha
-
10 months ago
(Last modified 10 months ago)
0
Retrieve all number version from tag
PCRE2 (PHP >=7.3)
This regex will retrieve all number in a given tag
Submitted by
Marc Masure
-
10 months ago
0
Add quotes to a malformed JSON string
ECMAScript (JavaScript)
This Regex allows to add double-quotes to a JSON string that is missing them. It assumes we have a space after the ":" and also after the ",".
Submitted by
anonymous
-
10 months ago
0
Old Discord Username Match
ECMAScript (JavaScript)
Detect and capture every part of the old discord username system
Submitted by
N0de
-
10 months ago
0
New Discord Username
ECMAScript (JavaScript)
Validates if a username is valid or not on the new discord username system
Submitted by
anonymous
-
10 months ago
0
AT+ - Image
PCRE2 (PHP >=7.3)
parse at+ syntax
Submitted by
Carsten
-
10 months ago
1
...
286
287
288
289
match first lowercase letter of every word
0
Regular Expression
ECMAScript (JavaScript)
/
^
[
a
-
z
]
{1}
|
(?<=
\s
)
[
a
-
z
]
{1}
/
gm
Open regex in editor
Description
match first lowercase letter of every word
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)