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 11,880 community submitted regex patterns...
27
Cron schedule
Recommended
PCRE (PHP <7.3)
Validate cron lines (even the ones commented out)
Submitted by
anonymous
-
8 years ago
14
best youtube id match ( iframe embed replace ready )
Recommended
PCRE (PHP <7.3)
MATCH ANY YOUTUBE ID author : mi-ca v1.0 – 2017.03.08 This Regex match any youtube url and grab the ID. Embed ready √ --...
Submitted by
mi-ca.ch
-
5 years ago
1
...
592
593
594
匹配非字母数字且排除对&的匹配
0
Regular Expression
PCRE (PHP <7.3)
/
[^
&
\w
]
|
_
/
gm
Open regex in editor
Description
在清除字符串里的非字母数字字符且需要留下&用于拆分时可用
Submitted by
acoderwu
-
3 years ago