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 3,240 community submitted regex patterns...
1
Imperva audit log regex
PCRE2 (PHP >=7.3)
Contains regex to parse the CockroachDB SQL audit log file
Submitted by
Lesley Miller
-
2 years ago
1
command df -T on linux
PCRE2 (PHP >=7.3)
command df -T on linux udev devtmpfs 65928068 0 65928068 0% /dev tmpfs tmpfs 13190576 304608 12885968 3% /run /dev/mapper/pve-root ext4 98559220 50337808 43171864 54% / tmpfs tmpfs 65952876 46800 65906076 1% /dev/shm...
Submitted by
Saulo Costa
-
2 years ago
(Last modified 2 years ago)
1
Custom Commit ReGex
PCRE2 (PHP >=7.3)
Custom Commit ReGex Test
Submitted by
Kewal Rathod
-
2 years ago
(Last modified 2 years ago)
1
Links
PCRE2 (PHP >=7.3)
Beginner way to highlight links
Submitted by
anonymous
-
2 years ago
1
Grab first sentence from multi-line text
PCRE2 (PHP >=7.3)
Using to extract PhpDoc summary. Note: PhpDoc must be trimmed at left (' ' and '*' are removed).
Submitted by
WinterSilence
-
2 years ago
1
Illumina sample ID regex
PCRE2 (PHP >=7.3)
regular expression for illumina sequencer sample ids. sample Ids are alpha numeric with no more than two dashes or underscores and no underscores or dashes in the beginning or end of the sample id.
Submitted by
anonymous
-
2 years ago
1
13-16 digit credit card
PCRE2 (PHP >=7.3)
Finds a number that is 13-16 digits long. Can have spaces or hyphens in between the numbers and will still be found.
Submitted by
Spencer Curtis
-
2 years ago
(Last modified 2 years ago)
1
Detect zoom meeting links
PCRE2 (PHP >=7.3)
Find zoom links in text
Submitted by
Artyom Ivanov
-
2 years ago
1
UAE Emirates ID Number
PCRE2 (PHP >=7.3)
Validate an Emirates ID number, with or without dashes. Please note that this does not implement the Luhn Algorithm, which should be applied in conjunction with simple validation.
Submitted by
Pete Mahon
-
2 years ago
1
todos and tags in code
PCRE2 (PHP >=7.3)
todos and tags in code
Submitted by
anonymous
-
2 years ago
1
Website validation
PCRE2 (PHP >=7.3)
This regex is for validating website url Only accept http and https With or without www With or without subdomain .com or dot any With any sub path...
Submitted by
anonymous
-
2 years ago
1
Regex of name or a firstname
PCRE2 (PHP >=7.3)
Format detected: "Jean" OR "Jean-Pierre" OR "Jean-Marie-Pierre"...
Submitted by
Massinissa CHAOUCHI
-
2 years ago
1
Sri Lankan Land/Fixed-line Telephone Number Validation
PCRE2 (PHP >=7.3)
Sri Lankan Land/Fixed-line Telephone Number Validation This expression validates if a given value is a valid Sri Lankan fixed line / land line telephone number. Sri Lankan land line numbers starts from 0 and does not contain 7 in the 2nd digit, and is 10 digits in length. ...
Submitted by
Isuru Ranawaka
-
2 years ago
1
Sri Lankan Mobile Number Validation
PCRE2 (PHP >=7.3)
See https://en.wikipedia.org/wiki/Telephone_numbers_in_Sri_Lanka
Submitted by
Isuru Ranawaka
-
2 years ago
1
Add commas between numbers
PCRE2 (PHP >=7.3)
This regex separates numbers with commas taking 0 into account.
Submitted by
anonymous
-
2 years ago
1
Regex de validação de número celular e fixo | PHP (PCRE2)
PCRE2 (PHP >=7.3)
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
Danillo Dantas
-
2 years ago
1
extract url from html markdown
PCRE2 (PHP >=7.3)
222
Submitted by
seocringe
-
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
nginx access regex loki
Golang
nginx access log regex
Submitted by
Lethisa Putri
-
2 years ago
1
...
118
119
120
121
122
...
162
Community Library Entry
0
Regular Expression
Python
r"
\$
[
a
-
zA
-
Z0
-
9
\-
_
]
+
[
]
*
:
[
]
*
[
a
-
zA
-
Z0
-
9
\-
_
]
+
"
Open regex in editor
Description
find every Sass variabile assignation
Submitted by
Giorgia Bonini
-
9 years ago