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
Extract form HTML in Make (Integromat)
ECMAScript (JavaScript)
In Make (Integromat) I want to extra data in email formated in HTML I need to extract : The value for First Name, Last Name, Adresse, Zip code, City
Submitted by
anonymous
-
2 years 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
-
2 years ago
1
Single line of .env file
PCRE2 (PHP >=7.3)
Parse a single line of a .env file From repo dotenv - source code here.
Submitted by
Mot (https://github.com/motdotla)
-
a year ago
1
Extract schema and domain from URI.
PCRE2 (PHP >=7.3)
Doesn't work on domains that include dashes (after the dash).
Submitted by
Roke Julian Lockhart Beedell
-
a year ago
1
Sri Lankan NIC Validation Regex - Sri Lanka - National Identity Card Number Validation Regex
PCRE2 (PHP >=7.3)
Extract the Data from Sri Lankan National Identity Card The SL NIC could be divided into two groups, Before 2016 (9 alphanumeric digits with one English letter) After 2016 (12 alphanumeric digits) ...
Submitted by
Aadhil Ahamed (Find me on GitHub: https://github.com/AadhilMR)
-
a year ago
1
终端控制序列
PCRE2 (PHP >=7.3)
匹配终端控制序列
Submitted by
anonymous
-
a year ago
1
Universal Phone Regex
PCRE2 (PHP >=7.3)
Just a simple regex to detect phone numbers Should work in just about any regex flavor.
Submitted by
anonymous
-
a year ago
1
Month / Year Format (MM/YY)
ECMAScript (JavaScript)
/^(0[1-9]|1[0-2])\/?([0-9]{2})$/ /^(0[1-9]|1[0-2]) : First Digit - 0 second digit will be -0 to 9 ----> for Jan to Sep ...
Submitted by
anonymous
-
a year ago
0
find a 6 lenght word with 2 consecutive digits
ECMAScript (JavaScript)
ragex solution for free code camp positive-and-negative-lookahead first assertion is (?=\w{6,}) where im matching for any char (a-z0-9_) and repeating the char matching 6 times, in other words, verifying that this word has 6 char being them a-z or digits. the second assertion was more difficult to...
Submitted by
gabriel silva lima
-
a year ago
0
GET country, prefix extended
ECMAScript (JavaScript)
This regex match group (country & Prefix) Separated by spaces or \s+ ↓↓ Example ↓↓ Australia 61 Dominica 1 (767) República Dominicana 1 (809/829/849) ...
Submitted by
https://github.com/hzvvictor
-
a year ago
(Last modified a year ago)
0
Sustitution of comments (one line) //
ECMAScript (JavaScript)
Sustitution of comments (one line) // Example ~ input (before) ↓↓ : // comment textplain other-text ...
Submitted by
hzvvictor: https://github.com/hzvvictor
-
a year ago
(Last modified a year ago)
0
matrix.to URL regex
Python
Regex to detect and extract detail from matrix.to
Submitted by
anonymous
-
a year ago
1
JavaScript String Matcher
PCRE2 (PHP >=7.3)
Matches comments, strings, templates, and regexes from javascript code. also matches templates recursively in order to correctly get template data
Submitted by
ephf
-
a year ago
1
e_itcd_protocol_match
PCRE2 (PHP >=7.3)
Match an e-ITCD protocol inside a list
Submitted by
davidbragat
-
a year ago
(Last modified a year ago)
1
Remove specific character in beginning & last
PCRE2 (PHP >=7.3)
Remove specific character in beginning & last
Submitted by
anonymous
-
a year ago
1
Email Validation General (miscrosoft email rule)
PCRE2 (PHP >=7.3)
^([a-z0-9]+(?:([-]+|[.])[\w-]+|[-]))@([a-z0-9]+(?:([.-]\w+)\.)[a-z]{2,13})$
Submitted by
Riki
-
a year ago
1
Test email for 99% of possible issues
PCRE2 (PHP >=7.3)
This is written using several other developer's work with my tying it all together and adding a few small requirement of my own. allows Latin characters (“a” - “z” or “A” - “Z”) within the email address. permits digits (0 - 9) in the email address. enforces domain part restrictions. allows hyphen...
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
one line html
PCRE2 (PHP >=7.3)
matches html
Submitted by
anonymous
-
a year ago
1
test
PCRE2 (PHP >=7.3)
mail, pass, ...
Submitted by
anonymous
-
a year ago
1
mikrotik rsc to github
PCRE (PHP <7.3)
convert mikrotik rsc to one line as every rule
Submitted by
sanekmihailow
-
a year ago
1
...
328
329
330
331
332
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\d
{1,3}
)
\.
(
\d
{1,3}
)
\.
(
\d
{1,3}
)
\.
(
\d
{1,3}
)
\.
in-addr
\.
arpa
/
gm
Open regex in editor
Description
Converts in-addr.arpa hostnames to IPv4
e.g. 1.0.0.127.in-addr.arpa to 127.0.0.1
Submitted by
BitesizedLion
-
2 years ago