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
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 12,640 community submitted regex patterns...
0
telephone validator from FCC
ECMAScript (JavaScript)
passes freecodecamp's telephone validator
Submitted by
anonymous
-
4 years ago
0
Practice email validation
ECMAScript (JavaScript)
Solves the practice problem from https://www.sitepoint.com/learn-regex/
Submitted by
Nhi Mai-Do
-
4 years ago
0
Character Match Replace + Capturing Group
PCRE (PHP <7.3)
s matches the character s literally (case sensitive) 1st Capturing Group (\d) \d matches a digit (equivalent to [0-9]) Global pattern flags...
Submitted by
Dan
-
3 years ago
0
Remove Text after Parenthesis
PCRE (PHP <7.3)
/ \).$ / gm \) matches the character ) literally (case sensitive) ...
Submitted by
Dan
-
3 years ago
0
Lookbehind
ECMAScript (JavaScript)
Example of how to pull a particular piece of the URL
Submitted by
DATA_GATA
-
3 years ago
0
email address
ECMAScript (JavaScript)
email address regex
Submitted by
anonymous
-
3 years ago
0
Trailing dot removal after number sequence
ECMAScript (JavaScript)
The capture group returns only a number with a dot if it has decimal digits, otherwise it is treated as an integer. 1.1 => 1.1 1\. => 1
Submitted by
Stefa168
-
3 years ago
0
Match URL or URI strings
ECMAScript (JavaScript)
Reference: https://stackoverflow.com/a/34669019/369727
Submitted by
https://danlevy.net/
-
3 years ago
0
medicine
PCRE (PHP <7.3)
about medicine
Submitted by
fcs
-
3 years ago
(Last modified 3 years ago)
0
匹配整数(带小数位)
PCRE (PHP <7.3)
匹配小数位的整数,或者匹配整数
Submitted by
solelyli
-
3 years ago
0
Generate random alpha characters
PCRE (PHP <7.3)
Given a string, generate random alpha characters of a particular length
Submitted by
Chetan
-
3 years ago
0
RegexJSON
PCRE (PHP <7.3)
Json add q
Submitted by
anonymous
-
3 years ago
0
Mac Address
PCRE (PHP <7.3)
Mac address is 6 parts of 2 hexadecimal digits separated by a special character "-" so, there are 5 parts of digits followed by the character "-" then, one part without that character.
Submitted by
EMAM1999
-
3 years ago
0
Setup php source extension regex
ECMAScript (JavaScript)
Setup php source extension regex
Submitted by
anonymous
-
3 years ago
0
Reguläre Ausdrücke
PCRE (PHP <7.3)
Eine Aufgabe die man Lösen muss, wenn man die Lösung kennt.
Submitted by
anonymous
-
3 years ago
0
10 digit phone number
ECMAScript (JavaScript)
Phone number regex
Submitted by
anonymous
-
3 years ago
0
Remove bold surrounding italic
ECMAScript (JavaScript)
Remove bold surrounding italic
Submitted by
anonymous
-
3 years ago
0
Hitomi.la
PCRE (PHP <7.3)
this is used for Hdoujin download Hitomi.la Instance
Submitted by
anonymous
-
3 years ago
0
Hexadecimal code
PCRE (PHP <7.3)
4 "digit" hexadecimal code
Submitted by
anonymous
-
3 years ago
0
Get URL inside parentheses
ECMAScript (JavaScript)
got it from here [Regex to match URL, ends up matching URL plus closing brackets when URL is between brackets [duplicate]](https://stackoverflow.com/questions/60476363/regex-to-match-url-ends-up-matching-url-plus-closing-brackets-when-url-is-betwe)
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
...
592
593
594
595
596
...
632
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
-
?
(
\d
|
(
\d
+
,
?
\d
+
)
)*
(
\.
\d
+
)?
(
e
\d
+
)?
$
/
Open regex in editor
Description
Matches numbers in most forms - normal, decimal, exponential, comma separted
Submitted by
Shashwat Black
-
9 years ago