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 14,940 community submitted regex patterns...
0
Validate CSS Names
PCRE (PHP <7.3)
Validate CSS Names
Submitted by
emed
-
3 years ago
0
Class atribute content
PCRE (PHP <7.3)
regular expression to pull all css classes from a html file.
Submitted by
emed
-
3 years ago
0
MR Title validation
Python
-
Submitted by
alkov
-
3 years ago
2
yyyy/mm/dd
Java 8
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day, date format. E.g: 2021/08/25 [match] 2021/...
Submitted by
mayl0421
-
3 years ago
0
dir_linux
Python
check dir is illegal or not
Submitted by
anonymous
-
3 years ago
0
Change var config file python
Python
For change var in config file on python
Submitted by
anonymous
-
3 years ago
1
Codice fiscale italiano
PCRE (PHP <7.3)
Regex completa per il CF. Controllo anche i casi di omocodia.
Submitted by
Virtualdummy
-
3 years ago
0
Find Anchor Tags
ECMAScript (JavaScript)
finding all anchor tags to help with removing their href attribute
Submitted by
Cezer
-
3 years ago
0
LinkedIn regex
Python
.
Submitted by
anonymous
-
3 years ago
-1
Strip from Token to End of Line
ECMAScript (JavaScript)
Utilize " -- " as a Token and strips from the token to the end of the line.
Submitted by
anonymous
-
3 years ago
0
po box
Python
m
Submitted by
m
-
3 years ago
0
Pattern-12r1
ECMAScript (JavaScript)
This pattern needs to validate serial number
Submitted by
Raj
-
3 years ago
0
123
Java 8
123
Submitted by
anonymous
-
3 years ago
0
零宽断言 - 前方不为指定字符串
PCRE (PHP <7.3)
零宽断言比较复杂。保存了一些示例待不时之需 ()表示捕获分组,()会把每个分组里的匹配的值保存起来,从左向右,以分组的左括号为标志,第一个出现的分组的组号为1,第二个为2,以此类推 (?:)表示非捕获分组,和捕获分组唯一的区别在于,非捕获分组匹配的值不会保存起来 正则表达式的先行断言和后行断言一共有 4 种形式:...
Submitted by
anonymous
-
3 years ago
1
Absolute File Path Validation
ECMAScript (JavaScript)
Matches absolute file paths, such as C:\Users\username\Documents\filename.txt The path must contain a file and extension at the end
Submitted by
anonymous
-
3 years ago
0
Find coordinates
Python
Find coordinates
Submitted by
jjvillavicencio
-
3 years ago
0
Pesables
PCRE (PHP <7.3)
4 enteros / coma o punto / 3 decimales
Submitted by
nico-ber
-
3 years ago
0
移除非法字符
Java 8
冲鸭!
Submitted by
anonymous
-
3 years ago
0
Non-"ness" remover
Python
Remove all words that don't end in "ness" from a dictionary.
Submitted by
anonymous
-
3 years ago
1
Phone Number Selector
ECMAScript (JavaScript)
Select a Phone Number with +98 or 0
Submitted by
Amir Hossein Khateri
-
3 years ago
1
...
75
76
77
78
79
...
747
Class atribute content
0
Regular Expression
PCRE (PHP <7.3)
/
(
class
+
)
=
[
"'
]
?
(
(?:
.
(?!
[
"'
]
?
\s
+
(?:
\S
+
)
=
|
[
>"'
]
)
)+
.
)
[
"'
]
?
/
gmiuJ
Open regex in editor
Description
regular expression to pull all css classes from a html file.
Submitted by
emed
-
3 years ago