Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 2,340 community submitted regex patterns...
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Kaspersky update domains (TLS)
PCRE2 (PHP >=7.3)
Match Kaspersky update domains for exclusion from TLS logging
Submitted by
kernelmustard
-
3 months ago
2023-06-12 15:08
(Last modified 3 months ago)
2023-06-13 15:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Kaspersky Update Domains
PCRE2 (PHP >=7.3)
Match Kaspersky update domains for exclusion from DNS logging
Submitted by
kernelmustard
-
3 months ago
2023-06-12 15:03
(Last modified 3 months ago)
2023-06-14 17:14
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Iranian Mobile Numbers
PCRE2 (PHP >=7.3)
To Validate Iranian Operators Number Validation
Submitted by
AMAISGOD
-
4 months ago
2023-06-11 10:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bematech regex
PCRE2 (PHP >=7.3)
https://///
Submitted by
anonymous
-
4 months ago
2023-06-10 22:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配代码块
PCRE2 (PHP >=7.3)
用来匹配markdown里面的代码块
Submitted by
anonymous
-
4 months ago
2023-06-09 10:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Groups / pb
PCRE2 (PHP >=7.3)
Trying to get groups to work in PB CreateRegularExpression(0,"^FWD:\[(?[0-9]{4})\] (?.+\.exe): (?.*)$") x$ = "FWD:[1234] something else.exe: a bunch of text" If MatchRegularExpression(0,x$)...
Submitted by
anonymous
-
4 months ago
2023-06-09 00:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Basic Git pull request title validator
PCRE2 (PHP >=7.3)
Validates that there an optional [WIP] followed by a bracketed ticket number, PIDSS-n*, a space, and a string beginning with an uppercase character.
Submitted by
David E Nedrow
-
4 months ago
2023-06-08 20:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pull Quote regex
PCRE2 (PHP >=7.3)
Get quote text and author
Submitted by
sunilP
-
4 months ago
2023-06-08 08:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
pep2
PCRE2 (PHP >=7.3)
Ramil Rakhmatulovich IBATULLIN (Рамиль Рахматуллович ИБАТУЛЛИН) Function: Russian military leader – Major-General Commander of the 90th Guards Tank Division DOB: 22.10.1976 POB: Bagishevo, Apastovsky District, Tatarstan, former USSR (now Russian Federation)...
Submitted by
anonymous
-
4 months ago
2023-06-07 12:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PEP
PCRE2 (PHP >=7.3)
Mikhail Stepanovich ZUSKO (Михаил Степанович ЗУСЬКО) Function: Russian military leader – Lieutenant- General Chief of staff of the “West” grouping Former Commander of the 58th Combined Arms Army of the Southern Military District DOB: 24.5.1972...
Submitted by
anonymous
-
4 months ago
2023-06-07 12:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RegEx
PCRE2 (PHP >=7.3)
Examples
Submitted by
anonymous
-
4 months ago
2023-06-07 08:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
EmailValidation
PCRE2 (PHP >=7.3)
This is an Email validation using RegExp.
Submitted by
anonymous
-
4 months ago
2023-06-07 05:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Age
PCRE2 (PHP >=7.3)
Match "I'm ##" or "I am ##"
Submitted by
Matt
-
4 months ago
2023-06-07 01:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IssuePattern
PCRE2 (PHP >=7.3)
working pattern for Issue packages
Submitted by
anonymous
-
4 months ago
2023-06-06 17:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
3 letter word finder
PCRE2 (PHP >=7.3)
finds any 3 letter words in a text
Submitted by
anonymous
-
4 months ago
2023-06-05 21:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
quoted strings regex
PCRE2 (PHP >=7.3)
matches quoted strings
Submitted by
anonymous
-
4 months ago
2023-06-05 14:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pagrafo empezandon con cadena y termnando en punto
PCRE2 (PHP >=7.3)
Busca parrafos completos incluyendo nuevas lineas, los cuales terminan con un punto final
Submitted by
anonymous
-
4 months ago
2023-06-05 10:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
outletId
PCRE2 (PHP >=7.3)
test outlet id
Submitted by
Ankit
-
4 months ago
2023-06-05 07:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Using negative lookahead
PCRE2 (PHP >=7.3)
From the following: Chr. Chr.I Chr.II Chr.III Chr.IIV...
Submitted by
dikip
-
4 months ago
2023-06-05 06:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
fb-group
PCRE2 (PHP >=7.3)
db gr
Submitted by
anonymous
-
4 months ago
2023-06-04 20:48
(Last modified 4 months ago)
2023-06-04 20:53
1
...
6
7
8
9
10
11
12
...
117
SuperJS: variable initializement
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
(?P<indent>
\s
*
)
(?P<type>
[
\w
]
+
)
\s
(?P<identifier>
[
\w\d
]
+
)
\s
*
=
\s
*
`
g
Open regex in editor
Description
Loading markdown...
Submitted by
Jordy van Domselaar <jordy.van.domselaar@outlook.com>
-
6 years ago
2017-11-12 18:26