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
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Clean Date Finder
Find dates of multiple formats in a clean way Searchable Formats: -Month day year -Month day, year -Mon day year...
Submitted by
anonymous
-
16 hours ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Valid HTTP url
Matches in python valid urls (excludes some edge cases), but pretty good to verify an URL before scraping it
Submitted by
anonymous
-
19 hours ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
匹配中文数字,用于逆向文本标准化
大部分应当匹配的数字都匹配上了。 第2个捕获组,即是内容(可能加的有单位,需要手动去除)
Submitted by
HaujetZhao
-
19 hours ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
RegEx, lower case letters and numbers, with exact length of 6
StackOverflow RegEx, lower case letters and numbers, with exact length of 6 RegEx without boundary (1st try) [a-z0-9]{6} RegEx with boundary (solution) \b[a-z0-9]{6}\b
Submitted by
Nicolas Karg
-
a day ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
Wikipedia ISO 4217 (Currency Codes) table to C# enum
This converts the values in this) table to C# code. Example: pulic enum Iso4217 { /* output here */...
Submitted by
Diemaco
-
a day ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
chit_kaung_song_names
Extract Singer Chit Kaung's song names in Myanmar + English
Submitted by
paing
-
a day ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
google video 域名
google video 域名
Submitted by
anonymous
-
a day ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
URL Cleaner
It just cleans up urls.
Submitted by
anonymous
-
a day ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
White spaces between two white spaces.
White spaces between two white spaces.
Submitted by
jrjmm
-
a day ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
silly radio
nuh uh
Submitted by
anonymous
-
a day ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Are* Device (iOS)
OS version of the iPhone devices of our client Are*
Submitted by
anonymous
-
2 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Are* Device
Device model Extraction from our client Are*
Submitted by
anonymous
-
2 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Codegolf stay away from zero
Codegolf submission
Submitted by
PlaceReporter99
-
2 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
python
Author cite
Get author names from shitty import
Submitted by
anonymous
-
2 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Estrazione numeri scheda mail generali
Come da titolo
Submitted by
anonymous
-
2 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
IIC++ Script Parsing Regex
Regex for parsing IIC++ script.
Submitted by
Vu Tung Lam
-
2 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
dotnet
for killerswim
a
Submitted by
anonymous
-
2 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
入门学习
。
Submitted by
anonymous
-
3 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
regex for flight policies
'nls__Cancellation permitted 03 Hrs before scheduled departure __nls Within 03-72 hrs INR 3,500 or 100% of airfare charge (whichever is lower) nls Before 72 hrs INR 3,000 or 100% of airfare charge (whichever is lower)' this is my string I want everything between nls and nls or nls and INR
Submitted by
anonymous
-
3 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
exclude square brackets
exclude square brackets
Submitted by
tarek
-
4 days ago
1
2
3
4
...
687
determine if input text is an URL
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
pcre2
/
(
(
https
?
:
)?
\/\/
)?
(
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
(
:
(
[
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)+
)?
@
)?
(
[
\d\w
]
[
-
\d\w
]
{0,253}
[
\d\w
]
\.
)+
[
\w
]
{2,63}
(
:
[
\d
]
+
)?
(
\/
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)*
(
\?
(
&
?
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)
=
?
)*
)?
(
#
(
[
-+_~.
\d\w
]
|
%
[
a
-
fA
-
f
\d
]
{2,2}
)*
)?
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 2 months ago