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,020 community submitted regex patterns...
2
Email Extractor
PCRE2 (PHP >=7.3)
([a-zA-Z0-9.-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9_-]+)
Submitted by
Kashif
-
3 years ago
2
yyyy/mm/dd
Java 8
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day, date format. E.g: 2021/08/25 [match] 2021/...
Submitted by
mayl0421
-
3 years ago
2
Html tag parser
PCRE2 (PHP >=7.3)
This regex will help you to parse html tag. Example ...
Submitted by
denchiklut
-
3 years ago
2
JavaScript semicolon adder
ECMAScript (JavaScript)
This is a regex to use on JavaScript code that is missing semicolons
Submitted by
samunemeth
-
3 years ago
2
Check Phone numbers
PCRE2 (PHP >=7.3)
Other patterns
Submitted by
https://joserobinson.com
-
3 years ago
2
Match Javanese Script Syllable
PCRE2 (PHP >=7.3)
Match any syllable based on javanese script unicode
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
2
RFC1918 - Private IPv4 addresses
PCRE2 (PHP >=7.3)
Validate a given IP v4 address against all three defined Private IPv4 Subnets as statet in RFC1918 10.0.0.0/8 172.16.0.0/20 192.168.0.0/16 ...
Submitted by
0100101101001
-
3 years ago
2
Get commands from Neebula Discovery Language NDL
ECMAScript (JavaScript)
Matches the commands from Neebula Discovery Language NDL, which is used in ServiceNow Discovery Patterns.
Submitted by
James Griffith
-
3 years ago
(Last modified 3 years ago)
2
Grabify URL Detector
PCRE2 (PHP >=7.3)
Detects any Grabify IP tracker links
Submitted by
ShadowNox
-
3 years ago
2
UUID 4
PCRE2 (PHP >=7.3)
Detects any UUID 4 strings
Submitted by
ShadowNox
-
3 years ago
2
Svelte: CSS class attribute (Svelte or HTML friendly), class:directive, TailwindCSS classes, and @apply.
ECMAScript (JavaScript)
SvelteComponent Class Directive Matching Also supports TailwindCSS-style @apply directive for the class value. class:directive={boolean} ...
Submitted by
Nicholas Berlette (@nberlette)
-
3 years ago
2
GitHub bare url to org/repo Markdown
PCRE2 (PHP >=7.3)
Convert a bare url into organization/repo format in a Markdown link.
Submitted by
anonymous
-
3 years ago
2
Markdown Heading
Java 8
Parses the text following a '#' and a space all the way up to the next return character. Additional #'s can be added for parsing of other type of headings!
Submitted by
Hansen
-
3 years ago
2
Simple URL
ECMAScript (JavaScript)
Validate an URL input.
Submitted by
@nuragic
-
3 years ago
2
Currency with dollar sign, two decimals, negative allowed, starting with period ok
ECMAScript (JavaScript)
Currency with dollar sign, two decimals, negative allowed, starting with period ok
Submitted by
Natalia Zolotareva
-
3 years ago
2
Extract parts of a URL on Python
Python
Extract parts of a URL on Python
Submitted by
dixanms
-
3 years ago
2
regex101.com id grabber
PCRE (PHP <7.3)
Grabs the ID for the regex101.com permalink to code.
Submitted by
Sasha Garan
-
3 years ago
(Last modified 3 years ago)
2
Lua Enhanced: +=
Python
Adds += to Lua.
Submitted by
anonymous
-
3 years ago
2
Delete hour range
PCRE2 (PHP >=7.3)
Select duplicate a.m. - p.m range
Submitted by
profeivan
-
3 years ago
2
Asciidoc PlantUML Block
Java 8
Regex to select PlantUML Block in Asciidoc documents
Submitted by
anonymous
-
3 years ago
1
...
877
878
879
880
881
...
901
Community Library Entry
2
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
\+
?
\d
{0,2}
)?
[
\D
]
?
\(
?
(
\d
{3}
)
\)
?
[
\D
]
?
(
\d
{3}
)
[
\D
]
?
(
\d
{4}
)
$
/
gm
Open regex in editor
Description
Other patterns
Submitted by
https://joserobinson.com
-
3 years ago