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,040 community submitted regex patterns...
0
Clean phone numbers
ECMAScript (JavaScript)
(204)555-5555 (204)-(555)-(5555) 204-555-5555 To: 2045555555
Submitted by
smitpatelx
-
3 years ago
0
regex_commercial_activities
PCRE2 (PHP >=7.3)
guifro
Submitted by
guifro
-
3 years ago
1
phone regex
ECMAScript (JavaScript)
phone regex
Submitted by
antiai
-
3 years ago
0
get teacher url
ECMAScript (JavaScript)
will match ^/teacher//list$ ^/teacher//file/$ ^/teacher//info/$ ...
Submitted by
anonymous
-
3 years ago
0
CVE-2021-31805 (s2-062)
Python
\%[\s|\\r|\\n]\{[\s|\\r|\\n](?:[\s|\\r|\\n]*\(\#+\=+\)\.)
Submitted by
anonymous
-
3 years ago
-1
Twitter Tweet URL
PCRE (PHP <7.3)
This ensures that a link to tweet strictly matches
Submitted by
anonymous
-
3 years ago
0
Remove enclosing quotes
PCRE2 (PHP >=7.3)
Removes a pair of quotes enclosing a string and leaves just the string
Submitted by
anonymous
-
3 years ago
0
#value # value
Python
account for comments
Submitted by
anonymous
-
3 years ago
0
Phone number regex
Python
REGEX to test various phone numbers
Submitted by
Drew Recker
-
3 years ago
0
Email simple validation (x@x.x)
PCRE2 (PHP >=7.3)
Simple email validator (x@x.x) Note: Use /g to test all example emails.
Submitted by
davidgaroro
-
3 years ago
(Last modified 2 years ago)
0
MLA journal article Works Cited bibliography entry
PCRE2 (PHP >=7.3)
MLA journal article Works Cited bibliography entry
Submitted by
Ken M. Penner
-
3 years ago
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
test
-
3 years ago
0
原神圣遗物OCR副属性(中文简体)
Python
用于游戏“原神”的圣遗物OCR结果中的副属性识别
Submitted by
Wansn
-
3 years ago
0
find email addresses
Golang
find email addresses
Submitted by
anon
-
3 years ago
(Last modified 3 years ago)
0
ipv4
PCRE2 (PHP >=7.3)
Find ipv4 addresses
Submitted by
anon
-
3 years ago
0
UPN Compiladores
PCRE2 (PHP >=7.3)
UPN Compiladores
Submitted by
anonymous
-
3 years ago
1
PHP PDO debugDumpParams parse as sql.
PCRE2 (PHP >=7.3)
解析php pdo 的 debugDumpParams 输出的数据。
Submitted by
anonymous
-
3 years ago
0
<script>标签的匹配
PCRE2 (PHP >=7.3)
标签的匹配
Submitted by
anonymous
-
3 years ago
0
<style>标签的匹配
PCRE2 (PHP >=7.3)
标签的匹配
Submitted by
anonymous
-
3 years ago
0
Log Capture
PCRE2 (PHP >=7.3)
Capture the date, host, message type, and message from the patterns in the log file.
Submitted by
Nicholas Tower
-
3 years ago
1
...
148
149
150
151
152
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
feature
|
bug
|
bugfix
|
task
|
hotfix
)
\/
[
_
\.
A
-
Z+a
-
z
\/
0
-
9-
]
+
$
/
gm
Open regex in editor
Description
To enforce branch names to include specific prefix and not allow some special characters.
Submitted by
TParry
-
3 years ago