Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 2,420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find all special characters in a Device Tag to be replaced
PCRE2 (PHP >=7.3)
Find all IEC structure level characters within a Device tag so they can be replaced with a underscore
Submitted by
Michael B
-
5 months ago
2023-04-10 20:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match glassId
PCRE2 (PHP >=7.3)
使用边界来匹配输出
Submitted by
anonymous
-
5 months ago
2023-04-11 03:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
3 Letras para clave Aeropuerto
PCRE2 (PHP >=7.3)
Encuentra 3 letras para enlistar claves de Aeropuerto
Submitted by
anonymous
-
5 months ago
2023-04-11 07:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
temporary python files on replit
PCRE2 (PHP >=7.3)
used in inotifywait command to check which file was modified last
Submitted by
anonymous
-
5 months ago
2023-04-12 15:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GECOS and /etc/passwd
PCRE2 (PHP >=7.3)
Pull out fields in /etc/password and group.
Submitted by
anonymous
-
5 months ago
2023-04-13 23:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex for name unicode
PCRE2 (PHP >=7.3)
regex detect name unicode
Submitted by
hao.nguyen
-
5 months ago
2023-04-14 03:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
5 months ago
2023-04-14 04:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Add new line to every 2 sentences
PCRE2 (PHP >=7.3)
-
Submitted by
anonymous
-
5 months ago
2023-04-14 06:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Transform: Translate()
PCRE2 (PHP >=7.3)
Get translate transform from inline style property
Submitted by
anonymous
-
5 months ago
2023-04-14 14:21
(Last modified 5 months ago)
2023-04-14 14:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Record Date Rule (Semantic)
PCRE2 (PHP >=7.3)
Record Date Rule (Semantic)
Submitted by
Kasshyap
-
5 months ago
2023-04-15 10:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
5 months ago
2023-04-16 15:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GSN
PCRE2 (PHP >=7.3)
split words to keywords
Submitted by
anonymous
-
5 months ago
2023-04-17 08:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
5 months ago
2023-04-17 09:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
5 months ago
2023-04-17 14:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
本地分支正则匹配检测
PCRE2 (PHP >=7.3)
为了适配回迁项目gitlab代码分支的规范,因此设置根据不同的车型来切分不同的分支。这个是开发者根据不同车厂车型在本地切出来的分支命名规范
Submitted by
ayunwSky
-
5 months ago
2023-04-18 06:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
远程分支不同的feature开发分支规范
PCRE2 (PHP >=7.3)
为了适配回迁项目gitlab代码分支规范,因此规定将所有回迁项目的分支命名格式规定为: feature/车型/小写英文字母 的形式。
Submitted by
ayunwSKy
-
5 months ago
2023-04-18 06:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
auto-gpt :- capture thoughts
PCRE2 (PHP >=7.3)
capture thoughts of auto-gpt log
Submitted by
anonymous
-
5 months ago
2023-04-20 20:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GitVersion major-version-bump-message
PCRE2 (PHP >=7.3)
GitVersion major-version-bump-message
Submitted by
anonymous
-
5 months ago
2023-04-19 13:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GitVersion minor-version-bump-message
PCRE2 (PHP >=7.3)
GitVersion minor-version-bump-message
Submitted by
anonymous
-
5 months ago
2023-04-19 13:15
(Last modified 5 months ago)
2023-04-21 11:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GitVersion patch-version-bump-message
PCRE2 (PHP >=7.3)
GitVersion patch-version-bump-message
Submitted by
anonymous
-
5 months ago
2023-04-19 13:15
1
...
110
111
112
113
114
115
116
...
121
Dutch zipcodes
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?:
NL-
)?
(?:
[
1
-
9
]
\d
{3}
?
(?:
[
A
-
EGHJ
-
NPRTVWXZ
]
[
A
-
EGHJ
-
NPRSTVWXZ
]
|
S
[
BCEGHJ
-
NPRTVWXZ
]
)
)
$
/
i
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 years ago
2021-02-24 15:54
(Last modified 3 years ago)
2021-02-24 16:08