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 11,780 community submitted regex patterns...
1
extract filename and contents
PCRE2 (PHP >=7.3)
extract filename and contents
Submitted by
anonymous
-
4 months ago
1
Match on period following single letter name initial for TTS Rendering without Pause
PCRE2 (PHP >=7.3)
Match on period following single letter name initial for TTS Rendering without Pause Specifically, matches all occurrences of period if preceded by capital letter. Used in T2S android tts app for rendering text without pausing after letter name initial.
Submitted by
Scott K
-
4 months ago
1
match hex colors
PCRE2 (PHP >=7.3)
Match hex colors with PCRE2
Submitted by
anonymous
-
4 months ago
1
Match ISO 639-1 language codes
PCRE2 (PHP >=7.3)
Match ISO 639-1 language codes
Submitted by
anonymous
-
4 months ago
1
datime
PCRE2 (PHP >=7.3)
datetime
Submitted by
anonymous
-
5 months ago
1
Google chat WebHook integration
PCRE2 (PHP >=7.3)
Regular match an URL integration to Google chat by WebHook
Submitted by
Vito Bryliano
-
5 months ago
1
12 hour time
PCRE2 (PHP >=7.3)
Use this expression to validate a 12 hour time input
Submitted by
Amit Sharma
-
5 months ago
1
Malaysian NRIC
PCRE2 (PHP >=7.3)
Strict Malaysian NRIC format check Version 2: Shorten with assertion
Submitted by
17Hieng
-
5 months ago
(Last modified 5 months ago)
1
URL
PCRE2 (PHP >=7.3)
Support any types of URL for https and http protocol. http or https [optional] domain name [mandatory] file path [optional] query parameter [optional]
Submitted by
17Hieng
-
5 months ago
(Last modified 5 months ago)
1
Custom Datetime Finder
PCRE2 (PHP >=7.3)
Determine date time parts
Submitted by
anonymous
-
5 months ago
(Last modified 5 months ago)
1
git-flow branch names
PCRE2 (PHP >=7.3)
This is the regex for our branch names.
Submitted by
stefanfrede
-
5 months ago
1
Match paths
PCRE2 (PHP >=7.3)
Match paths
Submitted by
os_niko
-
5 months ago
1
Prime number test
PCRE2 (PHP >=7.3)
Prime number test
Submitted by
anonymous
-
5 months ago
(Last modified 3 months ago)
1
Get a canonical link from html page
PCRE2 (PHP >=7.3)
Gets the canonical link from a html page provided it has one
Submitted by
anonymous
-
5 months ago
1
Find all text lines after simple time code
PCRE2 (PHP >=7.3)
Given a time code caption file (not standards compliant) use this script to match all lines following a time code line You can use this regex in Notepad++ to generate a new file that only contains the matches in the form of ^(?!\d:\d{2}+).+
Submitted by
Alexander Roberts
-
5 months ago
1
Search disabled SSL verification
PCRE2 (PHP >=7.3)
Find SSLVerify = false
Submitted by
@Sergiomarotco
-
5 months ago
1
QIF date from ISO format to French format
PCRE2 (PHP >=7.3)
Transforms an ISO date (YYY-MM-DD) into a French format date (DD/MM/YYYY). Substitute : D$3/$2/$1
Submitted by
Christian CROCHE
-
5 months ago
1
QIF amount from French format to English for MS MONEY
PCRE2 (PHP >=7.3)
For a QIF file extracted from Boursorama bank account, transform the diffrent amount in French format to an English format (without thousand separator) for MS Money. ^([T\$])([-+]?)(\d*)(\s?)(\d+)(\,)(\d+)$ Substitute with $1$2$3$5.$7
Submitted by
anonymous
-
5 months ago
1
חיפוש במשמעות של "או" ספרי הרמב"ם
PCRE2 (PHP >=7.3)
רוצים לחפש את המילה ספר בהתייחס לכל ספרי הרמב"ם
Submitted by
ישורון קובי
-
5 months ago
1
XML/HTML Tag selector
PCRE2 (PHP >=7.3)
Pros: Attribute-aware (but not complete parse) Content-aware (text only) Cons: Might poor performance (unnecessary matches if you work on a ssr thing)...
Submitted by
stdpi
-
5 months ago
1
...
5
6
7
8
9
...
589
RegEX_CPF (Formatação opcional)
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
[
0
-
9
]
{3}
)
\.
?
(
[
0
-
9
]
{3}
)
\.
?
(
[
0
-
9
]
{3}
)
\-
?
(
[
0
-
9
]
{2}
)
(
[
-
]
)?
)
$
/
Open regex in editor
Description
Match 1: 123.465.789-00 Group 1: 123.465.789-00 Group 2: 123 Group 3: 456 Group 4: 789 Group 5: 00
Submitted by
BAWB.io
-
2 years ago