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 12,820 community submitted regex patterns...
0
validate Page range input
ECMAScript (JavaScript)
Given an iput of page range by the user, validate if the input matches an acceptable format.
Submitted by
Anwesh Gangula
-
3 years ago
0
Todo
ECMAScript (JavaScript)
Regex to match consecutive identical characters. Then replace each match with `` Eg: "Hello" will yield "H1e1l2o1"
Submitted by
Chief A
-
3 years ago
0
CPF
PCRE (PHP <7.3)
Regra de validação de CPF.
Submitted by
anonymous
-
3 years ago
0
Match first letter of words for names
PCRE (PHP <7.3)
Also matches the first letter after ' or -
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Semver
PCRE (PHP <7.3)
Public library
Submitted by
Masoud shokohi
-
3 years ago
0
Replace <font color="stuff"> <span> tag
ECMAScript (JavaScript)
This regex fixes tags that contain a color attribute, replacing them with tags containing a style attribute
Submitted by
Alecto Irene Perez
-
3 years ago
0
IPv4 address
ECMAScript (JavaScript)
IPv4 address RegExp.
Submitted by
Sling
-
3 years ago
0
ESO
ECMAScript (JavaScript)
eso
Submitted by
KC
-
3 years ago
0
Dates in fluent language
ECMAScript (JavaScript)
Dates in fluent language
Submitted by
xxx
-
3 years ago
0
Get the number which length = 15 in string
ECMAScript (JavaScript)
Match the number which length = 15 in string
Submitted by
TQT
-
3 years ago
0
Extract the last word in a string
ECMAScript (JavaScript)
Match the last word in a string
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Password Validator
ECMAScript (JavaScript)
Requirements: 8 characters 1 number 1 symbol Note: Case Insensitive
Submitted by
Srinivas
-
3 years ago
0
Perfect Time timestamp
PCRE (PHP <7.3)
https://github.com/BlueHuskyStudios/Perfect-Time/
Submitted by
Ky Leggiero
-
3 years ago
0
YouTube ID receiver
ECMAScript (JavaScript)
Detects YouTube link in the standard format and shortcuts and it receives the ID of the YT video.
Submitted by
Velidan
-
3 years ago
0
Multi Language Letters with single space, no symbol or number or trailing spaces
ECMAScript (JavaScript)
This is tedious
Submitted by
anonymous
-
3 years ago
0
my birthday pattern
PCRE (PHP <7.3)
must match format: yyyy-MM-dd
Submitted by
anonymous
-
3 years ago
0
Scuffed phone number detectorizer
ECMAScript (JavaScript)
This is my first real regular expression after following some tutorials. Finds phone numbers, that's about it
Submitted by
hoylecake
-
3 years ago
0
Starts by # inside string
PCRE (PHP <7.3)
Match with starts by character "#" and follow number inside string
Submitted by
anonymous
-
3 years ago
0
Pesables
PCRE (PHP <7.3)
4 enteros / coma o punto / 3 decimales
Submitted by
nico-ber
-
3 years ago
0
零宽断言 - 前方不为指定字符串
PCRE (PHP <7.3)
零宽断言比较复杂。保存了一些示例待不时之需 ()表示捕获分组,()会把每个分组里的匹配的值保存起来,从左向右,以分组的左括号为标志,第一个出现的分组的组号为1,第二个为2,以此类推 (?:)表示非捕获分组,和捕获分组唯一的区别在于,非捕获分组匹配的值不会保存起来 正则表达式的先行断言和后行断言一共有 4 种形式:...
Submitted by
anonymous
-
3 years ago
1
...
603
604
605
606
607
...
641
my birthday pattern
0
Regular Expression
PCRE (PHP <7.3)
/
^
[
0
-
9
]
{4}
[
-
]
{1}
[
0
-
9
]
{2}
[
-
]
{1}
[
0
-
9
]
{2}
$
/
g
Open regex in editor
Description
must match format: yyyy-MM-dd
Submitted by
anonymous
-
3 years ago