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
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Url parser and validator
Validate an url with hostname or ip and port. Furthermore provides: the entire url the protocol the hostname/ip the port...
Submitted by
Antonino Sirchia
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Angular 2 property access
no description available
Submitted by
jros
-
7 years ago
2
3 upvotes, 1 downvotes (75% like it) (You must be signed in to vote)
javascript
word before :
no description available
Submitted by
anonymous
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
file extension validation
no description available
Submitted by
Lisa
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
pdf url link
no description available
Submitted by
anonymous
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
get file Extensions
var fileExtensionPatter = /\.([0-9a-z]+)(?=[?#])|(\.)(?:[\w]+)$/ var ma1 = 'css/global.css?v=1.2'.match(fileExtensionPatter)[0]; console.log(ma1); // return .css ...
Submitted by
Ahbap Aldırmaz
-
7 years ago
2
3 upvotes, 1 downvotes (75% like it) (You must be signed in to vote)
javascript
fffs
dfsfd
Submitted by
anonymous
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Delimite a number with 3-digital block
no description available
Submitted by
Willy
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Parse string like: "[!type|name] http://some.url/to.file"
http://some.url/to.file [!css|name]http://some.url/to.file [!css] http://some.url/to.file ...
Submitted by
Max Chuhryaev
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Strong password
Password require: lowercase, uppercase, symbol, not consecutive same letter/number, and not some specific words
Submitted by
@cadete_kdt
-
7 years ago
2
4 upvotes, 2 downvotes (67% like it) (You must be signed in to vote)
javascript
password 1upper 1lower 1number 1specialcharater
fjk@1Qaa$
Submitted by
Anuswadh
-
7 years ago
2
3 upvotes, 1 downvotes (75% like it) (You must be signed in to vote)
javascript
US datetime
Validates a US mm-dd-yy(yy) with an optional hh:mm:ss time.
Submitted by
anonymous
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
emoji short-code detection
Detects the short-code words for emojis (a la jemoji).
Submitted by
Eric McCormick
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
bye
no description available
Submitted by
anonymous
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Date or N/A
Accepts Date or not applicable string.
Submitted by
Toufique Ahmed
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
problem for homework
no description available
Submitted by
anonymous
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
kasd; fk.!@#$%^&*()*()%^&*()_
no description available
Submitted by
anonymous
-
7 years ago
2
4 upvotes, 2 downvotes (67% like it) (You must be signed in to vote)
javascript
Removes script tags
no description available
Submitted by
ghs
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Href parse
matches href, title, innerhtml
Submitted by
chrysls
-
7 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Remove XSS
no description available
Submitted by
Harish Thakur
-
7 years ago
1
...
265
266
267
268
269
270
271
...
277
1111
Vote
-3
3 upvotes, 6 downvotes (33% like it) (You must be signed in to vote)
Regular Expression
javascript
/
^
(
0
[
1
-
9
]
|
1
\d
|
2
[
0
-
8
]
|
29
(?=
-
\d\d
-
(?!
1
[
01345789
]
00
|
2
[
1235679
]
00
)
\d\d
(?:
[
02468
]
[
048
]
|
[
13579
]
[
26
]
)
)
|
30
(?!
-02
)
|
31
(?=
-0
[
13578
]
|
-1
[
02
]
)
)
-
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
-
(
[
12
]
\d
{3}
)
(
[
01
]
\d
|
2
[
0
-
3
]
)
:
(
[
0
-
5
]
\d
)
:
(
[
0
-
5
]
\d
)
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 9 years ago