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
trimming whitespaces from the beginning and from the end
Python
trimming whitespaces from the beginning and from the end
Submitted by
anonymous
-
2 years ago
0
远程分支不同的feature开发分支规范
PCRE2 (PHP >=7.3)
为了适配回迁项目gitlab代码分支规范,因此规定将所有回迁项目的分支命名格式规定为: feature/车型/小写英文字母 的形式。
Submitted by
ayunwSKy
-
2 years ago
0
本地分支正则匹配检测
PCRE2 (PHP >=7.3)
为了适配回迁项目gitlab代码分支的规范,因此设置根据不同的车型来切分不同的分支。这个是开发者根据不同车厂车型在本地切出来的分支命名规范
Submitted by
ayunwSky
-
2 years ago
0
Filename without extension
ECMAScript (JavaScript)
Selects only the filename of a file, including dotfiles.
Submitted by
anonymous
-
2 years ago
(Last modified 7 months ago)
0
Match Office 365 Tenant ID
PCRE2 (PHP >=7.3)
For validating Office 365 Tenant ID string. For example when passing a human typed parameter in powershell.
Submitted by
Fredrik.Wallander
-
2 years ago
(Last modified a year ago)
0
Linux Folder Name Regex
PCRE2 (PHP >=7.3)
Regex to check if a given folder name is valid linux. Limited to 14 chars so it includes older linux version. If you know you will be using a newer version you can use the 255 limit for chars.
Submitted by
anonymous
-
2 years ago
0
GSN
PCRE2 (PHP >=7.3)
split words to keywords
Submitted by
anonymous
-
2 years ago
1
BadDomainNamesDetected
PCRE2 (PHP >=7.3)
/hostname=(?P\".*\")/gm
Submitted by
KC.G
-
2 years ago
0
matching filenames to episodes and/or season
PCRE2 (PHP >=7.3)
i was having a difficult time matching delimited episode names AND season names. since episodes follow: show.name.Sxx.Exx.resolution.source ...
Submitted by
Gallo S. Chingon
-
2 years ago
0
Record Date Rule (Semantic)
PCRE2 (PHP >=7.3)
Record Date Rule (Semantic)
Submitted by
Kasshyap
-
2 years ago
0
IWANTOUT
Python
IWANOUT
Submitted by
anonymous
-
2 years ago
0
URL
Python
Regex de URL
Submitted by
anonymous
-
2 years ago
0
Transform: Translate()
PCRE2 (PHP >=7.3)
Get translate transform from inline style property
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
find domains in text
ECMAScript (JavaScript)
This regex will find domain inside of strings
Submitted by
anonymous
-
2 years ago
0
Add new line to every 2 sentences
PCRE2 (PHP >=7.3)
-
Submitted by
anonymous
-
2 years ago
0
https://*.youtube.com (www or non www)
PCRE2 (PHP >=7.3)
Regex to check https://www.youtube.com or https://youtube.com
Submitted by
davidgaroro
-
2 years ago
0
regex for name unicode
PCRE2 (PHP >=7.3)
regex detect name unicode
Submitted by
hao.nguyen
-
2 years ago
0
GECOS and /etc/passwd
PCRE2 (PHP >=7.3)
Pull out fields in /etc/password and group.
Submitted by
anonymous
-
2 years ago
0
Split up text to 40 signs
Java 8
This splits a text into sequences of max. 40 chars, concatting with a pipe
Submitted by
anonymous
-
2 years ago
0
SAP_ECTR_ID
PCRE (PHP <7.3)
Gets the base ID of the ECTR ID when using copy and paste.
Submitted by
Peter
-
2 years ago
1
...
64
65
66
67
68
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
\[
(
[^
\|
]
*
)
\|
(
[^
\]
]
*
)
\]
/
g
Open regex in editor
Description
no description available
Submitted by
Gavin Jackson
-
11 years ago