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)
lower case alpha and number
PCRE (PHP <7.3)
lower case alpha and number
Submitted by
anonymous
-
a year ago
2022-04-27 02:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Jira issue number
Golang
Matches and catches Jira issue number
Submitted by
anonymous
-
a year ago
2022-04-26 09:50
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Password policy (password requires three out of the four character types)
PCRE (PHP <7.3)
A password must consist of at least fifteen characters. A password must contain a character from at least three of the following four sets: A-Z a-z 0-9 !@#$%^&*_-+=?|\/(){}[]:,.;...
Submitted by
RGT, Mast
-
a year ago
2022-04-26 08:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find next valid markup element of XML content
PCRE (PHP <7.3)
I created the regexp using the XML-specificaton (https://www.w3.org/TR/xml), but in a simplified format (for example allowing only a narrowed set of tag-name characters). The regular expression is a recursive regexp with backreference. I do not tested extensively the regex with a regex-directed engi...
Submitted by
GyRos
-
a year ago
2022-04-24 13:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cri logfmt
Golang
The CRI expr will match and parse log lines of this format: 2019-01-01T01:00:00.000000001Z stderr P some log message `
Submitted by
east4ming
-
a year ago
2022-04-21 01:59
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Twitter Tweet URL
PCRE (PHP <7.3)
This ensures that a link to tweet strictly matches
Submitted by
anonymous
-
a year ago
2022-04-18 23:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find email addresses
Golang
find email addresses
Submitted by
anon
-
a year ago
2022-04-15 18:57
(Last modified a year ago)
2022-04-15 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
password strong
PCRE (PHP <7.3)
password 8-16 with A-Z a-z 0-9 and !@#$ without %
Submitted by
alfxjx
-
a year ago
2022-04-15 02:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Delete spaces at beginning or end of a string
PCRE (PHP <7.3)
Delete spaces at beginning or end of a string
Submitted by
anonymous
-
a year ago
2022-04-09 06:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Detect space kernel between characters
PCRE (PHP <7.3)
Detect space kernel between characters
Submitted by
anonymous
-
a year ago
2022-04-09 06:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Delete spaces between words only
PCRE (PHP <7.3)
Delete spaces between words only
Submitted by
anonymous
-
a year ago
2022-04-09 06:40
(Last modified a year ago)
2022-04-09 08:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Public
PCRE (PHP <7.3)
Public view for my collection
Submitted by
anonymous
-
a year ago
2022-04-08 16:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Browser Group < --Tabs> Filter n' Org
PCRE (PHP <7.3)
Grabs another regex from the Public Library to do most of the dirty work. When a tab is opened it scans and the: head header...
Submitted by
Another Dude
-
2 years ago
2022-03-23 17:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Secret Key validation with slash, hyphen, underscore
PCRE (PHP <7.3)
Match alphanumeric with / - _
Submitted by
Shubham Thakre
-
2 years ago
2022-03-22 07:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Wordle Result
Golang
A Regular Expression for the result of a Wordle, that can be shared after completing the Wordle of the Day.
Submitted by
Varun R Gupta
-
2 years ago
2022-03-12 13:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
address
PCRE (PHP <7.3)
not sure
Submitted by
anonymous
-
2 years ago
2022-03-08 03:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
C-style block comment with "*/" escape
Golang
Match /* ... / with escape of quotation marks, e.g. / "*/" */. No look ahead needed.
Submitted by
Guyutongxue
-
2 years ago
2022-02-25 07:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
camelCase Matches
PCRE (PHP <7.3)
camelCase Matches
Submitted by
anonymous
-
2 years ago
2022-02-24 07:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
camelCase Matches
PCRE (PHP <7.3)
camelCase Matches
Submitted by
anonymous
-
2 years ago
2022-02-24 07:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Strings itself
PCRE (PHP <7.3)
Match Strings itself, include ""
Submitted by
picc_lu
-
2 years ago
2022-02-21 02:47
1
...
6
7
8
9
10
11
12
...
471
Gateway plugins filename
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
service
\-
(?P<serviceName>
[
a
-
zA
-
Z
]
+
[
a
-
zA
-
Z-
]
+
[
a
-
zA
-
Z
]
+
)
\-
v
(?P<versionMajor>
[
0
-
9
]
+
)
\.
(?P<versionMinor>
[
0
-
9
]
+
)
\.
(?P<versionPatch>
[
0
-
9
]
+
)
(?:
\-
(?P<versionType>
alpha
|
beta
|
rc
)
(?:
\.
(?P<versionTypeNumber>
[
0
-
9
]
+
)
)
)?
\.
(?P<fileExt>
gtw
)
`
g
Open regex in editor
Description
Loading markdown...
Submitted by
Julien BREUX
-
6 years ago
2018-03-16 08:53