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,700 community submitted regex patterns...
0
rwd
ECMAScript (JavaScript)
rwd
Submitted by
anonymous
-
2 years ago
0
Cbre bookingid
ECMAScript (JavaScript)
a
Submitted by
anonymous
-
2 years ago
0
Google Analytics Pattern
ECMAScript (JavaScript)
Padrão de formatação do Google analytics usando o identificador universal UA e prevendo que a base de usuários pode crescer, conforme discusão em
Submitted by
@brunosf
-
2 years ago
1
<input type="number" /> pattern
ECMAScript (JavaScript)
As 'number' is not implemented by all browsers, you can check your value with this RegExp.
Submitted by
Ann MB
-
2 years ago
(Last modified 2 years ago)
1
<input type="date" /> pattern
ECMAScript (JavaScript)
As 'date' input doesn't have a [pattern] attribute, you can check its value with this RegExp. Does not check if the given day corresponds to its month. Ex : 1989-03-30 will be considered as correct
Submitted by
Ann MB
-
2 years ago
(Last modified 2 years ago)
1
<input type="datetime-local" /> pattern
ECMAScript (JavaScript)
As 'datetime-local' input doesn't have a [pattern] attribute, you can check its value with this RegExp. Does not check if the given day corresponds to its month . Ex : 2019-02-30 will be considered as correct
Submitted by
Ann MB
-
2 years ago
(Last modified 2 years ago)
1
<input type="week" /> pattern
ECMAScript (JavaScript)
As 'week' input doesn't have a [pattern] attribute, you can check its value with this RegExp. Does not check if the given year has 52 or 53 weeks.
Submitted by
Ann MB
-
2 years ago
(Last modified 2 years ago)
1
<input type="time" /> pattern
ECMAScript (JavaScript)
As 'time' input doesn't have a [pattern] attribute, you can check its value with this RegExp. You must provide hours and minutes. Seconds and milliseconds are optional. To "activate" seconds on the input, give it the step="" attribute with a number reprensenting the incrementation in seconds....
Submitted by
Ann MB
-
2 years ago
(Last modified 2 years ago)
1
Numbers only (including decimals) ( JS work fine)
ECMAScript (JavaScript)
Rejects first symbol if 0 and all other non number (doesn't includes .123 )
Submitted by
Sofitt
-
2 years ago
(Last modified 2 years ago)
2
Currency with dollar sign, two decimals, negative allowed, starting with period ok
ECMAScript (JavaScript)
Currency with dollar sign, two decimals, negative allowed, starting with period ok
Submitted by
Natalia Zolotareva
-
2 years ago
0
YouTube vid length
ECMAScript (JavaScript)
as found in: https://youtube.com/watch?v=${videoID}&persist_app=1&app=m to search for video time in minutes & seconds
Submitted by
tomByrer
-
2 years ago
(Last modified 2 years ago)
0
Extract registration and model
ECMAScript (JavaScript)
Capture registration and aircraft model
Submitted by
Federico Villa
-
2 years ago
(Last modified 2 years ago)
0
finding video names
ECMAScript (JavaScript)
Should find any video names
Submitted by
anonymous
-
2 years ago
0
SharePoint On-Premise Validator
ECMAScript (JavaScript)
SharePoint On-Premise Validator
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
SharePoint On-Premises Validator
ECMAScript (JavaScript)
SharePoint On-Premises Validator
Submitted by
anonymous
-
2 years ago
1
Minecraft Log Parser 1.0
ECMAScript (JavaScript)
Improvements needed
Submitted by
Crystal
-
2 years ago
0
Detect/Validate DMS coordinates
ECMAScript (JavaScript)
This regEx tries to detect geo coordinates in the dms (degree, minutes, seconds) format. Any help is appreciated
Submitted by
anonymous
-
2 years ago
0
Data-URL Declaration
ECMAScript (JavaScript)
Match the Data-URL Declaration that appears when reading a blob as Data URL from JS FileReader
Submitted by
anonymous
-
2 years ago
0
Best ISO-8601 Date and Time parser
ECMAScript (JavaScript)
This regex has leeway for: 'T' or space separating date and time Missing 'Z' missing milliseconds missing seconds (date, hours, and minutes only)...
Submitted by
Jeff Galbraith
-
2 years ago
0
Unreal Engine (UE_LOG) Parser - GoLang version
Golang
This regex is suitable for anyone ingesting UE_LOG files into Loki and creating dashboards in Grafana.
Submitted by
Mike McShaffry
-
2 years ago
1
...
34
35
36
37
38
...
185
Number Parsing w/ Scientific Support
0
Regular Expression
ECMAScript (JavaScript)
/
(
-
?
\d
*
(?:
\.
?
\d
*
)?
(?:
e
[
-+
]
?
\d
*
)?
)
/
gm
Open regex in editor
Description
Capture a number out of a string. Supports positive/negative, decimal, and Scientific Notation
Submitted by
Brombomb
-
3 years ago