Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
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 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 3,620 community submitted regex patterns...
2
Parse string like: "[!type|name] http://some.url/to.file"
ECMAScript (JavaScript)
http://some.url/to.file [!css|name]http://some.url/to.file [!css] http://some.url/to.file ...
Submitted by
Max Chuhryaev
-
8 years ago
1
File extention
ECMAScript (JavaScript)
Extract file extention from URL
Submitted by
anonymous
-
8 years ago
1
•
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Match URL segment
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Parsing a host from a URL
ECMAScript (JavaScript)
no description available
Submitted by
Alex LaFroscia
-
8 years ago
2
Delimite a number with 3-digital block
ECMAScript (JavaScript)
no description available
Submitted by
Willy
-
8 years ago
1
email validation regex
ECMAScript (JavaScript)
no description available
Submitted by
parul
-
8 years ago
2
fffs
ECMAScript (JavaScript)
dfsfd
Submitted by
anonymous
-
8 years ago
1
Validate percentage in JavaScript (Working)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
JavaScript Percentage Validation
ECMAScript (JavaScript)
no description available
Submitted by
rat
-
8 years ago
1
url
ECMAScript (JavaScript)
url
Submitted by
anonymous
-
8 years ago
1
Isolate URL in Iframe
ECMAScript (JavaScript)
Will select everything between the double quotes in an Iframe's src tag. Useful for retrieving/replacing the URL.
Submitted by
anonymous
-
8 years ago
1
fdwfe
ECMAScript (JavaScript)
few
Submitted by
few
-
8 years ago
4
find uncommented coffeescript console.logs
ECMAScript (JavaScript)
no description available
Submitted by
valiafetisov
-
8 years ago
1
chess move detector
ECMAScript (JavaScript)
Detects SYNTACTICALLY correct chess moves (i.e. it doesn't check whether the move itself is actually valid)
Submitted by
Terence Linnell
-
8 years ago
1
SmartTag Builder RegEx Tag Parsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
get file Extensions
ECMAScript (JavaScript)
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
-
8 years ago
1
Lucene special characters
ECMAScript (JavaScript)
Capturing lucene special characters for escaping
Submitted by
Ole Martin
-
8 years ago
2
pdf url link
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
-1
DD/MM/YYYY
ECMAScript (JavaScript)
no description available
Submitted by
nehakadam
-
8 years ago
1
...
145
146
147
148
149
...
181
File extention
1
Regular Expression
ECMAScript (JavaScript)
/
^
[^
#?
]
+
\.
(
[
a
-
zA
-
Z0
-
9
]
+
)
(?:
[
?#
]
.
*
)?
$
/
Open regex in editor
Description
Extract file extention from URL
Submitted by
anonymous
-
8 years ago