Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
GitVersion major-version-bump-message
GitVersion major-version-bump-message
Submitted by
anonymous
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
远程分支不同的feature开发分支规范
为了适配回迁项目gitlab代码分支规范,因此规定将所有回迁项目的分支命名格式规定为: feature/车型/小写英文字母 的形式。
Submitted by
ayunwSKy
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
本地分支正则匹配检测
为了适配回迁项目gitlab代码分支的规范,因此设置根据不同的车型来切分不同的分支。这个是开发者根据不同车厂车型在本地切出来的分支命名规范
Submitted by
ayunwSky
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Match Office 365 Tenant ID
For validating Office 365 Tenant ID string. For example when passing a human typed parameter in powershell.
Submitted by
Fredrik.Wallander
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Linux Folder Name Regex
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 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
GSN
split words to keywords
Submitted by
anonymous
-
2 months ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
BadDomainNamesDetected
/hostname=(?P\".*\")/gm
Submitted by
KC.G
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
matching filenames to episodes and/or season
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 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Record Date Rule (Semantic)
Record Date Rule (Semantic)
Submitted by
Kasshyap
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Transform: Translate()
Get translate transform from inline style property
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Add new line to every 2 sentences
-
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
https://*.youtube.com (www or non www)
Regex to check https://www.youtube.com or https://youtube.com
Submitted by
davidgaroro
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
regex for name unicode
regex detect name unicode
Submitted by
hao.nguyen
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
GECOS and /etc/passwd
Pull out fields in /etc/password and group.
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
SAP_ECTR_ID
Gets the base ID of the ECTR ID when using copy and paste.
Submitted by
Peter
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
temporary python files on replit
used in inotifywait command to check which file was modified last
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
3 Letras para clave Aeropuerto
Encuentra 3 letras para enlistar claves de Aeropuerto
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
match glassId
使用边界来匹配输出
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
Find all special characters in a Device Tag to be replaced
Find all IEC structure level characters within a Device tag so they can be replaced with a underscore
Submitted by
Michael B
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre2
chapter
a
Submitted by
anonymous
-
2 months ago
1
...
4
5
6
7
8
9
10
...
571
Strict URL validation
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
pcre2
/
(?!
.
*
[
.
]
{2}
)
(
(
https
?
|
http
)
\:\/\/
)?
(
[
a
-
z0
-
9+!*(),;?&=
\$
_.-
]
+
(
\:
[
a
-
z0
-
9+!*(),;?&=
\$
_.-
]
+
)?
@
)?
(
[
a
-
z0
-
9-.
-
.
]
?
(?!
.
*
\/
)
.
*
)
\.
(
[
a
-
z
]
{2,1000}
)
(
\:
[
0
-
9
]
{2,5}
)?
(
\/
(
[
a
-
z0
-
9+
\$
_-
]
\.
?
)+
)*
\/
?
(
\?
[
a
-
z+&
\$
_.-
]
[
a
-
z0
-
9;:@&%=+
\/\$
_.-
]
*
)?
(
#
[
a
-
z_.-
]
[
a
-
z0
-
9+
\$
_.-
]
*
)?
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Adwin Raj GP
- 4 months ago