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)
pcre2
Partial Date
Partial date
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
regex-input-number
regex-input-number
Submitted by
me
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
find abc in string
first test
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
时间
时间
Submitted by
旧信
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
simulate to event
simulate to event
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
simulate to event
simulate to event
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
simulate to event
simulate to event
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Remove Hatena blog keyword
Remove Hatena blog keyword
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
java
Fixed Email Regex (emailregex.com)
An email regex that allows for capitals after the final dot (ie. TEST@GMAIL.COM)
Submitted by
anonymous
-
a year ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Regex of name or a firstname
Format detected: "Jean" OR "Jean-Pierre" OR "Jean-Marie-Pierre"...
Submitted by
Massinissa CHAOUCHI
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
嵌入条件
嵌入条件
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Ipv4 validation
regex for ip validation
Submitted by
Amper
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Split The Phone Numbers
Split The Phone Numbers
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Capture Data between 2 slashes
Capture Data between 2 slashes
Submitted by
Sarnath Jegadeesan
-
a year ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Website validation
This regex is for validating website url Only accept http and https With or without www With or without subdomain .com or dot any With any sub path...
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Regex for youtube links
Can obtain videoId using videoId () { return this.video_url.match(/(?:https?:\/\/)?(?:www\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\/?\?v=|\/embed\/|\/shorts\/|\/)(\w+)/)[1] } ...
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Wire Rebar Mesh Signature
Parsing signature of wire rebar mesh by "ГОСТ 23279-2012"
Submitted by
Anatoliy Zhartun
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
1부터 45까지의 숫자만 받음
예시) 1 // ok 45 // ok 46 // no
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
하나의 문자열에서 빈칸(스페이스)가 하나만 나오도록 하는 정규식
예시 “Cafe Latte” (ㅇ) “Ca fe Latte” (ㅇ) “Cafe Latte” (X) “ Cafe Latte” (X) “ Cafe Latte ” (X)...
Submitted by
anonymous
-
a year ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
optional character
match strings with some optional characters
Submitted by
anonymous
-
a year ago
1
...
44
45
46
47
48
49
50
...
118
web validation
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
pcre2
/
(
(
https
?
)
:
\/\/
)?
(
www
.
)?
[
a
-
z0
-
9
]
+
(
\.
[
a
-
z
]
{2,}
){1,3}
(
#
?
\/
?
[
a
-
zA
-
Z0
-
9#
]
+
)*
\/
?
(
\?
[
a
-
zA
-
Z0
-
9-_
]
+
=
[
a
-
zA
-
Z0
-
9-%
]
+
&
?
)?
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- a year ago