Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
javascript
0及最多6位正负整数
1、匹配6位以内正负整数 2、可以匹配0 有效例子 0 21...
Submitted by
anonymous
-
20 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Firstname Lastname (Western alphabet)
A regular expression to validate Firstname Lastname, supports multiple names, de, le, O',L',l',d', prefixes.
Submitted by
remedio
-
20 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
rust
Unicode Hexadecimal
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
20 days ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
javascript
Matching un-wrapped HTML & CSS code blocks in Markdown
PATTERNS RegEx Flavour ECMAScript (JavaScript, ActionScript, TypeScript, etc.) ...
Submitted by
anonymous
-
20 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Clean up Scribd quote
Scribd is a great resource for reading more than you would be able to otherwise, but the app sucks. And in particular, it sucks if you want to copy your highlights to another app, because it automatically adds the book, author, and a link to Scribd with every copy. This regex simple eliminates all ...
Submitted by
derBingle
-
20 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Sonepar - BW5 Service Mapping
Common Mapping
Submitted by
anonymous
-
20 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
MARKDOWN title reader
matches the titles from a markdown starting with i.e. Campaign uploader {#15mins-campaign-uploader}
Submitted by
Deepak O
-
22 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Special Chars
Exclude special chars with exceptions
Submitted by
anonymous
-
22 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
Riedler's 2nd URL regex
why did I make this?
Submitted by
Riedler
-
23 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Proventos Rico
Extrair informações do arquivo de proventos da corretora Rico.
Submitted by
anonymous
-
23 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Strong Matcher for ISO 8601 / RFC 3339 Date Times; rejects bad TZ offsets, illegal times (Museum of Bad Data)
Handles many nuanced cases around time zone offsets, leap seconds and leap days. References: List of UTC Offsets RFC 3339, the stricter rules that most systems use in practice ISO 8601, the widely known name for this format...
Submitted by
Philip Flip Kromer (@mrflip)
-
24 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Get <NIC>
Get NICs from string
Submitted by
anonymous
-
24 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Time Zone UTC Offsets in actual use for ISO 8601 / RFC 3339 Date Times (Museum of Bad Data)
Time Zone UTC Offsets in actual use for ISO 8601 / RFC 3339 Date Times (Museum of Bad Data) https://regex101.com/library/F21Glr Matches only (and every) UTC offset that is in actual use and valid under ISO 8601 and RFC 3339 (Y'know, the '2008-08-08T08:08:08+05:00' looking one, this is the plus/min...
Submitted by
Philip Flip Kromer
-
24 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Four-Digit Leap Years post-Y0 (AD/BCE) (Museum of Bad Data)
This will match all four-digit years that are leap years, using the "either (multiple of four but not a multiple of 100) OR (multiple of 400)" rule. Explained / ^(...
Submitted by
Philip Flip Kromer
-
24 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
golang
Home
Dj dus er geen je een je aan je enige eerst een he we er
Submitted by
Webmaster
-
25 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
wip; 匹配malloc申请的内容和使用的不一致
匹配malloc申请的内容和使用的不一致
Submitted by
zyf
-
25 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Capture URL without Query Parameters
Capture URL without Query Parameters /^(+).*/gm
Submitted by
anonymous
-
25 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Discord GuildEmoji
Matches a custom emoji from discord. Group 1: Optional, "a" means animated, a gif. Group 2: Emoji Name. Group 3: Emoji Id;
Submitted by
revelcw
-
a month ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
prod validation
valid prod
Submitted by
CW
-
a month ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
golang
extract <*n or <n where n is a number
see https://stackoverflow.com/questions/76228402/regex-to-extract-n-where-n-is-digit
Submitted by
code_monk
-
a month ago
1
2
3
4
5
6
7
8
...
853
SAS numeric formats
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
pcre2
/
(
(
low-
|
\d
-
|
<-
|
<
|
->
|
>
)
\d
*
$
)
|
other
|
low-high
|
(
^\d
high
$
)
|
^\d
*
$
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 3 months ago