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,440 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match CSS Gradients
PCRE2 (PHP >=7.3)
Match CSS Gradients
Submitted by
Sean Dellis
-
a year ago
2022-10-09 22:49
(Last modified a year ago)
2022-10-09 22:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
json-extract
PCRE2 (PHP >=7.3)
eee
Submitted by
anonymous
-
a year ago
2022-10-09 11:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Auth.log Parsing
PCRE2 (PHP >=7.3)
Parses the auth log on standard linux machines into useful groups.
Submitted by
Jason King
-
a year ago
2022-10-09 01:08
(Last modified a year ago)
2022-10-11 01:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Attribute reference
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/attributes/attribute-entries/
Submitted by
aisbergde
-
a year ago
2022-10-08 22:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AsciiDoc attribute definition
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/attributes/attribute-entries/
Submitted by
aisbergde
-
a year ago
2022-10-08 22:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AsciiDoc unordered list
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/lists/unordered/
Submitted by
aisbergde
-
a year ago
2022-10-08 22:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AsciiDoc line comment
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/comments/
Submitted by
aisbergde
-
a year ago
2022-10-08 21:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
demo
PCRE2 (PHP >=7.3)
regex grouping demo
Submitted by
Lidro
-
a year ago
2022-10-08 03:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
E
PCRE2 (PHP >=7.3)
E
Submitted by
anonymous
-
a year ago
2022-10-07 22:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AsciiDoc delimited block quote
PCRE2 (PHP >=7.3)
https://docs.asciidoctor.org/asciidoc/latest/blocks/delimited/ only basic syntax
Submitted by
aisbergde
-
a year ago
2022-10-07 09:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Fix markdown image in header
PCRE2 (PHP >=7.3)
I was converting from markdown to another format & it didn't allow images in headers so this Regex finds an image in a header & moves it before the header.
Submitted by
thefinnomenon
-
a year ago
2022-10-06 19:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Regex
PCRE2 (PHP >=7.3)
A well equiped regex
Submitted by
anonymous
-
a year ago
2022-10-06 10:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Soundcloud pattern
PCRE2 (PHP >=7.3)
Soundcloud pattern
Submitted by
anonymous
-
a year ago
2022-10-06 09:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
YouTube regex pattern v2
PCRE2 (PHP >=7.3)
YouTube regex pattern v2
Submitted by
anonymous
-
a year ago
2022-10-06 07:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
suprnana
PCRE2 (PHP >=7.3)
whodis
Submitted by
anonymous
-
a year ago
2022-10-06 02:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Divide AAAA and MMGG
PCRE2 (PHP >=7.3)
Division between AAAA and MMGG
Submitted by
Alessandro
-
a year ago
2022-10-05 09:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match all links except for links enclosed in curly brackets
PCRE2 (PHP >=7.3)
Match all links except for links enclosed in curly brackets
Submitted by
anonymous
-
a year ago
2022-10-05 08:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Instagram Post Url
PCRE2 (PHP >=7.3)
Match Instagram Post Url Matches: https://www.instagram.com/p/CiqWEQMOVNo/ https://www.instagram.com/p/CiqWEQMOVNo www.instagram.com/p/CiqWEQMOVNo https://instagram.com/p/CiqWEQMOVNo...
Submitted by
anonymous
-
a year ago
2022-10-04 12:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match the html tags with only whitespaces
PCRE2 (PHP >=7.3)
Match the html tags with only whitespaces
Submitted by
anonymous
-
a year ago
2022-10-04 08:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Crazy Caps Your String -
PCRE2 (PHP >=7.3)
Capitalize every other letter and lower case every alternate letter in your string!
Submitted by
anonymous
-
a year ago
2022-10-04 00:05
1
...
41
42
43
44
45
46
47
...
122
Match number from URL surrounded by slashes
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
\d
+
(?=
\/
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
fifle
-
a year ago
2022-08-23 15:30