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 18,020 community submitted regex patterns...
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
-
3 years ago
(Last modified 3 years ago)
0
month with year extraction
Python
ready code
Submitted by
anonymous
-
3 years ago
0
General regular expressions
PCRE2 (PHP >=7.3)
General
Submitted by
Stavros
-
3 years ago
0
Database_Data_Type
PCRE2 (PHP >=7.3)
Database_Data_Type
Submitted by
anonymous
-
3 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
-
3 years ago
(Last modified 3 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
-
3 years ago
(Last modified 3 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
-
3 years ago
(Last modified 3 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
-
3 years ago
(Last modified 3 years ago)
0
Italian phone number regex
PCRE (PHP <7.3)
Italian phone number reg
Submitted by
Ali Babayev
-
3 years ago
0
PCRE2 ipv6
PCRE2 (PHP >=7.3)
Some cases of ipv6 at string begin
Submitted by
anonymous
-
3 years ago
0
LinkedIn School Username
PCRE2 (PHP >=7.3)
x
Submitted by
anonymous
-
3 years ago
1
Worlde helper
PCRE2 (PHP >=7.3)
simple, just adjust that: contains letters "l z n" (probably can be simplified but I dont know how) exlude anywhere "rtuasgc" dictionary taken from wordle JS file
Submitted by
anonymous
-
3 years ago
0
Yandex music track regex
Python
Regex for yandex music track
Submitted by
anonymous
-
3 years ago
0
提取src
PCRE2 (PHP >=7.3)
提取src
Submitted by
anonymous
-
3 years ago
0
Hitech RTOZONE
Java 8
Checks the registration number's validity
Submitted by
Sid
-
3 years ago
0
Last 4 charecters
PCRE2 (PHP >=7.3)
This regex allows you to access the last 4 charecters in a string and manipulate them however you want
Submitted by
anonymous
-
3 years ago
0
Find two matching group
Python
Find two matching groups
Submitted by
anonymous
-
3 years ago
0
java-test1
Java 8
java test string
Submitted by
anonymous
-
3 years ago
0
Danish CPR number validation
PCRE (PHP <7.3)
CPR number is presented with or without a dash
Submitted by
anonymous
-
3 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
-
3 years ago
(Last modified 3 years ago)
1
...
165
166
167
168
169
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
가
-
힣a
-
zA
-
Z
\d
\-
_
\/\~\!\@\#\$\%\^\&\*\(\)\+\?\[\]
]
{1,40}
$
/
gm
Open regex in editor
Description
한글, 영문, 숫자, 특수문자 입력 가능 특수문자 : ~ ! @ # $ % ^ & * ( ) - + ? _ / [ ] 최대 40글자까지 가능 / 최소 1글자 이상 공백 입력가능
Submitted by
anonymous
-
3 years ago