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)
light password
PCRE2 (PHP >=7.3)
at least 1 digit at least 1 lowercase at least 1 uppercase
Submitted by
phil-all
-
2 years ago
2022-02-22 08:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Light French names
PCRE2 (PHP >=7.3)
Name have to contain between 1 and 32 characters, as follow : at least 1 uppercase letter 0 or more lowercase letter...
Submitted by
phil-all
-
2 years ago
2022-02-22 09:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Address Regular Expression
PCRE2 (PHP >=7.3)
Email Address Regular Expression
Submitted by
anonymous
-
2 years ago
2022-02-22 10:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
LLVM IR Global Variables
PCRE2 (PHP >=7.3)
Useful for LLVM backends that don't use LLVM's API!
Submitted by
anonymous
-
2 years ago
2022-02-22 19:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
oci1
PCRE2 (PHP >=7.3)
\nPrevious\n(.+\n+)+Time Remaining\n(\d\d:\d\d:\d\d)*
Submitted by
anonymous
-
2 years ago
2022-02-23 04:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
homework4
PCRE2 (PHP >=7.3)
homework 4
Submitted by
Eric Neuwirth
-
2 years ago
2022-02-23 06:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Server regex for getting directory and template name from url
PCRE2 (PHP >=7.3)
Later.
Submitted by
anonymous
-
2 years ago
2022-02-23 13:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match only capital letters with optional underscore in between
PCRE2 (PHP >=7.3)
HelloWorld -- NOT match HELLO_WORLD_ -- NOT match _HELLO_WORLD -- NOT match HELLO__WORLD -- match ]; -- NOT match RAGGA_DAFDASDA -- match...
Submitted by
anonymous
-
2 years ago
2022-02-24 08:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex 1
PCRE2 (PHP >=7.3)
search api with category and subcategory
Submitted by
anonymous
-
2 years ago
2022-02-24 12:26
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)
Bhumi
PCRE2 (PHP >=7.3)
Submitted by
Ewallet
-
2 years ago
2022-02-25 10:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
hbase offline state regex
PCRE2 (PHP >=7.3)
CVP
Submitted by
Diego
-
2 years ago
2022-02-25 15:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
gPat
PCRE2 (PHP >=7.3)
This is pre-built Global Pat for FortiSiem
Submitted by
Ken
-
2 years ago
2022-02-26 01:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Test MGNT
PCRE2 (PHP >=7.3)
just a test
Submitted by
dang
-
2 years ago
2022-02-28 13:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email
PCRE2 (PHP >=7.3)
Email Validator
Submitted by
anonymous
-
2 years ago
2022-02-28 20:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match user defined date format
PCRE2 (PHP >=7.3)
Only matches, when date is in brackets. Allows for KW/CW or Q or normal date. Delimiters are '.' & '-'; Does not work for years < 2000 and does not validate for correct month- or day-values (except quarter).
Submitted by
MjSt
-
2 years ago
2022-03-02 00:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
National Highways - Strategic Road Network - Geographic Addresses
PCRE2 (PHP >=7.3)
A mechanism to validate the entry of the National Highways Geographic Locations
Submitted by
anonymous
-
2 years ago
2022-03-02 15:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Latitude
PCRE2 (PHP >=7.3)
definition of latitude in the format DD MM.mmm within the range "48 00.000" to "61 59.999"
Submitted by
anonymous
-
2 years ago
2022-03-02 15:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Longitude
PCRE2 (PHP >=7.3)
A definition of Longitude in the format DD MM.mmm within the range "-10 59.999" to "2 59.999"
Submitted by
anonymous
-
2 years ago
2022-03-02 15:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
整数或小数
PCRE2 (PHP >=7.3)
整数或小数
Submitted by
anonymous
-
2 years ago
2022-03-03 02:14
1
...
64
65
66
67
68
69
70
...
122
Capture Data between 2 slashes
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
\s
\/
(?<serviceName>
[^
\/
]
*
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Sarnath Jegadeesan
-
a year ago
2022-06-28 02:07