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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 13,040 community submitted regex patterns...
0
Tel
ECMAScript (JavaScript)
Match : '+' at start. ' ' | '.' | '-' between number. Between 7 and 24 numbers. Work with HTML5 pattern.
Submitted by
valent1618
-
2 years ago
0
Exact match of a word in a phrase: the phrase must be composed by a single word
PCRE (PHP <7.3)
It will match if it's present only the exact word in a phrase, without any other words in the same sentence
Submitted by
anonymous
-
2 years ago
0
Strict password match
ECMAScript (JavaScript)
Matches any password with 8 ASCII characters (from ! to ~), 1 lowercase letter, 1 uppercase letter, 1 number and 1 symbol. For testing multiple passwords, each one has to be in a separate line, if a password is valid, its first character is found.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Matches wikipedia thumbnails images in the page
ECMAScript (JavaScript)
Matches wikipedia thumbnails images In the page
Submitted by
anonymous
-
2 years ago
0
Match wikipedia thumbnails images v5
ECMAScript (JavaScript)
Match wikipedia thumbnails images V5
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Terraform Service Name
Golang
Useful for validating services in TF
Submitted by
Nick Zaccardi
-
2 years ago
0
Turkiye GSM Operator Numbers 0(5__)
ECMAScript (JavaScript)
Regex to validate Turk Gsm Company numbers
Submitted by
irfanMiral.com
-
2 years ago
0
date format
ECMAScript (JavaScript)
relative date format
Submitted by
anonymous
-
2 years ago
0
match non-english number beside @
ECMAScript (JavaScript)
im looking for way to much the above title, in reliable way
Submitted by
perymimon
-
2 years ago
0
Word boundary with umlauts
ECMAScript (JavaScript)
Word boundary \b does not support all kinds of umlauts.
Submitted by
anonymous
-
2 years ago
0
extract numbers from DMS (degrees, minutes, seconds)
ECMAScript (JavaScript)
extract numbers from DMS (degrees, minutes, seconds). 33°28′17″ N ----> 33 / 28 / 17
Submitted by
anonymous
-
2 years ago
0
Fix property names with spaces generated by odata2poco
PCRE (PHP <7.3)
Run in notepad++, replace with \u$1
Submitted by
anonymous
-
2 years ago
0
Superscript symbols and numbers in HTML only where valid.
ECMAScript (JavaScript)
Superscript most symbols and numbers in HTML, but not in actual HTML tags where they also may appear but would create invalid HTML.
Submitted by
Colin Whelan
-
2 years ago
0
Validate Date Represented by Integer 1900 - 2099
PCRE (PHP <7.3)
Very simple validation expression that will validate a date in the range of 19000101 through 20991231. These formats are very popular for partitioning and representing dates as Long values or Integers. This does not check for Leap year values, or the months with varying number of days. Please Note:...
Submitted by
Edward Rush
-
2 years ago
0
Detect start of words to then convert string to camelCase, kebab-case, snake_case, etc.
ECMAScript (JavaScript)
You can use this to match the first character in each word. Use a function to then iterate over the matches to transform into the various cases.
Submitted by
Matt Scheurich
-
2 years ago
0
Currency
ECMAScript (JavaScript)
Currency
Submitted by
jerryd
-
2 years ago
0
Variable address condition
Java 8
This regex matches the variable address condition like: [1,100] >= 1 && [1,111] <= 2
Submitted by
Texx
-
2 years ago
0
Identifier Regex
Java 8
Regex for identifiers
Submitted by
anonymous
-
2 years ago
0
remove any salutation like mr. mrs Dr. etc from the beginning of the name
ECMAScript (JavaScript)
remove any salutation like mr. mrs Dr. etc from the beginning of the name
Submitted by
prax
-
2 years ago
0
super regex
Golang
Get every word ending with dot using Regex/VBA
Submitted by
anonymous
-
2 years ago
1
...
637
638
639
640
641
...
652
hsl colors
0
Regular Expression
ECMAScript (JavaScript)
/
^
hsla
?
\(
\s
*
(?<h>
[
-+
]
?
\d
{1,3}
(?:
\.
\d
+
)?
)
(
deg
|
grad
|
rad
|
turn
)?
\s
*
(?:
,
\s
*
|
\s
+
)
\s
*
(?<s>
[
-+
]
?
\d
{1,3}
(?:
\.
\d
+
)?
)
%
\s
*
(?:
,
\s
*
|
\s
+
)
\s
*
(?<l>
[
-+
]
?
\d
{1,3}
(?:
\.
\d
+
)?
)
%
\s
*
(?:
,
\s
*
|
\s
+
)?
(?:
\s
*
\/
?
\s
*
(?<alpha>
[
-+
]
?
[
\d
.
]
+
%
?
)
\s
*
)?
\)
$
/
gmi
Open regex in editor
Description
matches many HSL and HSLA formats permitted in CSS
Submitted by
anonymous
-
a year ago