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 9,420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
latlonlatlon
PCRE (PHP <7.3)
gg
Submitted by
anonymous
-
6 months ago
2023-05-22 19:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Home
Golang
Dj dus er geen je een je aan je enige eerst een he we er
Submitted by
Webmaster
-
7 months ago
2023-05-13 08:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
extract <*n or <n where n is a number
Golang
see https://stackoverflow.com/questions/76228402/regex-to-extract-n-where-n-is-digit
Submitted by
code_monk
-
7 months ago
2023-05-11 14:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ENEL T5 Mono
PCRE (PHP <7.3)
T
Submitted by
anonymous
-
7 months ago
2023-05-11 13:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
all instagram regex
PCRE (PHP <7.3)
(?:https?:\/\/)?(?:www.)?instagram.com\/?([a-zA-Z0-9\.\\-]+)?\/([p]+)?([reel]+)?([tv]+)?([stories]+)?\/([a-zA-Z0-9\-\\.]+)\/?([0-9]+)?
Submitted by
threedot
-
7 months ago
2023-05-09 10:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Authelia regex path rules
Golang
Testing Authelia subdomain / path rules. You can read more at the Authelia Docs By default, this regex101 page is shown a test for a generic API path domain: "some-sub.drpranavmishra.com" resources:...
Submitted by
Pranav Mishra
-
7 months ago
2023-05-06 19:29
(Last modified 7 months ago)
2023-05-07 13:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
domain name with subdomains
PCRE (PHP <7.3)
should match any domain with one or more subdomains
Submitted by
Igor Tiulkanov
-
7 months ago
2023-05-05 14:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get digits
Golang
Trying to get digits
Submitted by
Arthur Silva
-
7 months ago
2023-05-03 18:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
walter1976LastClean
Golang
walter1976LastClean
Submitted by
anonymous
-
7 months ago
2023-05-02 03:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Example 1.1: Pet Name
PCRE (PHP <7.3)
Example used in slide 39
Submitted by
anonymous
-
7 months ago
2023-04-27 04:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配限定后缀名的文件,忽略大小写
Golang
匹配.mka后缀名的文件,忽略大小写
Submitted by
anonymous
-
7 months ago
2023-04-26 14:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配限定后缀名中的指定关键字,忽略大小写
Golang
匹配.mkv和.mp4后缀名中包含menu或sp或.sample,忽略大小写
Submitted by
anonymous
-
7 months ago
2023-04-26 14:31
(Last modified 7 months ago)
2023-04-26 14:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
i++ in bash
PCRE (PHP <7.3)
asdf
Submitted by
anonymous
-
7 months ago
2023-04-22 07:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
golang re2 negative lookahead
Golang
Aquivalent solution for golang's unsupported negative lookahead in re2 flavor of go's regex. This example provides a negative lookahead similar to (?!/api/) ignoring routes with the /api/ prefix at the start.
Submitted by
misha
-
7 months ago
2023-04-21 10:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SAP_ECTR_ID
PCRE (PHP <7.3)
Gets the base ID of the ECTR ID when using copy and paste.
Submitted by
Peter
-
8 months ago
2023-04-13 13:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone number Malaysia RegEx
PCRE (PHP <7.3)
A regular expression of Malaysian phone number I made to be used on a project using flutter.
Submitted by
anonymous
-
8 months ago
2023-04-03 05:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Reverse list of ASN.1 OIDs/Short Names/Long Names for X.509 certificates under OpenSSL
PCRE (PHP <7.3)
OIDs are just numbers in the format 1.2.3.4.5.6.7.8.9... Short names are alphanumeric, contiguous descriptions (no spaces, hyphens allowed) Long names can be basically everything (sometimes even UTF-8!) Sometimes, organisations providing the list of 'their' OIDs might reverse the order, for listing...
Submitted by
Gwyneth Llewelyn
-
8 months ago
2023-03-29 16:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
pxc plcnext
Golang
plcnext version strings
Submitted by
anonymous
-
8 months ago
2023-03-27 07:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find GraphQL queries with missing id
PCRE (PHP <7.3)
It detects the following ` product { brand` and ignores ` product {...
Submitted by
anonymous
-
8 months ago
2023-03-19 02:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Search/Replace Pressure sensor calibration
PCRE (PHP <7.3)
Changing from MPa to Bar
Submitted by
anonymous
-
8 months ago
2023-03-17 09:23
1
2
3
4
5
...
471
RE2 match of APRS-IS header information
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
^
(
[
a
-
zA
-
Z0
-
9-
]
{1,}
)
>
(
.
*
?
)
[
,
]
(
.
*
){1,}
,
(
qA
[
CXUoOSrRiZI
]
)
,
(
.
+
){1,}
:
`
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Jack Hamm (jack@wv6l.net)
-
a year ago
2023-01-07 18:33