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
Regex de validação de número celular e fixo | JS (ECMAScript)
ECMAScript (JavaScript)
Regex validação número celular e fixo Somente números nacionais Com ou sem DDI 55 (com ou sem + e/ou 00) DDD obrigatório (com ou sem parênteses) Com ou sem Dígito 9...
Submitted by
anonymous
-
2 years ago
1
extract url from html markdown
PCRE2 (PHP >=7.3)
222
Submitted by
seocringe
-
2 years ago
1
telephone_founder
Python
with obfuscation
Submitted by
anonymous
-
2 years ago
1
Markdown link
.NET 7.0 (C#)
Regex for parsing markdown link. Named group "text", "url" and "alt.
Submitted by
anonymous
-
2 years ago
1
Sri Lankan National Identity Card and Sri Lanka Identity Number validation
PCRE2 (PHP >=7.3)
Sri Lankans have two types of identifiation numbers. National Identity Card number Sri Lanka Identity Number National Identity Card number...
Submitted by
Isuru Ranawaka
-
2 years ago
1
Get IDs from Discord message link
ECMAScript (JavaScript)
This regex captures the IDs in a message link in separate capture groups. Warning: Due to my personal use case, it doesn't care if it's a real Discord message URL. You can pretty easily add that yourself if you need it tho. Capturing groups: Match 1: The whole ID string starting with / and may be e...
Submitted by
SIMPLE MARK
-
2 years ago
1
nginx access regex loki
Golang
nginx access log regex
Submitted by
Lethisa Putri
-
2 years ago
0
Timezone Offsets
PCRE2 (PHP >=7.3)
A regular expression for timezones offsets as of July 29, 2022, see https://en.wikipedia.org/wiki/List_of_UTC_offsets.
Submitted by
Hidayatullah Ahsan
-
2 years ago
1
RFC5322-Email-Id-WHATWG
ECMAScript (JavaScript)
RFC5322 with WHATWG standard email id regex pattern
Submitted by
Sivanesan
-
2 years ago
1
ISO 8601:2004E Duration
.NET 7.0 (C#)
Regex for validating ISO 8601:2004E durations, complete with named capture groups.
Submitted by
Sakura Akeno Isayeki
-
2 years ago
1
IP Address
Java 8
(^([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3})$)
Submitted by
anonymous
-
2 years ago
1
S/O 73225392
PCRE2 (PHP >=7.3)
Replaces one style of markdown image with another
Submitted by
anonymous
-
2 years ago
1
Find Matching Parenthesis, Brackets, and Curly Brackets
ECMAScript (JavaScript)
Given a string, find matching parenthesis, brackets, and/or curly brackets.
Submitted by
Matthew Hiebing
-
2 years ago
1
Japanese Characters matching
ECMAScript (JavaScript)
Regex for Matching Jap Romaji Chars. I am in the middle of making an interface for Anki that works life wanikani. This way I can practice my own cards instead of a set syllabus. For that I need to make a Japanese Kana input, so I went with the good old regex to match all the romaji groups which ca...
Submitted by
Aashay Thakur
-
2 years ago
(Last modified 2 years ago)
1
Conventional Commits Validation Regex
PCRE2 (PHP >=7.3)
This regex matches most of the rules of conventional commits .
Submitted by
Ahmed Kamal
-
2 years ago
1
Decimal number
ECMAScript (JavaScript)
Matches any decimal number. Supports positive/negative sign, thousands separators, and implicit zeros.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
Unformatted Decimal number
ECMAScript (JavaScript)
Matches any mathematically correct decimal number which is not formatted.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
Unformatted Dozenal number
ECMAScript (JavaScript)
Matches any mathematically correct dozenal number which is not formatted.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
Dozenal number
ECMAScript (JavaScript)
Matches any dozenal number. Supports positive/negative sign, thousands separators, and implicit zeros.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
Dozenal number (Restricted)
ECMAScript (JavaScript)
Matches dozenal numbers. Supports positive/negative sign and thousands separators.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
...
319
320
321
322
323
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
.
*
\.
(
\w
{3}
)
/
gm
Open regex in editor
Description
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