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
S3 AWS Bucket Matcher
ECMAScript (JavaScript)
This matcher follows the rules given at https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html for legal s3 bucket names (the segment before the first slash if any)
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Phone number finder
Python
Finds a phone number.
Submitted by
anonymous
-
2 years ago
0
Email finder
Python
Find emails in a string.
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
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
GECOS and /etc/passwd
PCRE2 (PHP >=7.3)
Pull out fields in /etc/password and group.
Submitted by
anonymous
-
2 years ago
0
regex for name unicode
PCRE2 (PHP >=7.3)
regex detect name unicode
Submitted by
hao.nguyen
-
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
Add new line to every 2 sentences
PCRE2 (PHP >=7.3)
-
Submitted by
anonymous
-
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
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
URL
Python
Regex de URL
Submitted by
anonymous
-
2 years ago
0
IWANTOUT
Python
IWANOUT
Submitted by
anonymous
-
2 years ago
0
Record Date Rule (Semantic)
PCRE2 (PHP >=7.3)
Record Date Rule (Semantic)
Submitted by
Kasshyap
-
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
GSN
PCRE2 (PHP >=7.3)
split words to keywords
Submitted by
anonymous
-
2 years 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
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
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
本地分支正则匹配检测
PCRE2 (PHP >=7.3)
为了适配回迁项目gitlab代码分支的规范,因此设置根据不同的车型来切分不同的分支。这个是开发者根据不同车厂车型在本地切出来的分支命名规范
Submitted by
ayunwSky
-
2 years ago
1
...
886
887
888
889
890
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
^
(
[
01
]
[
0
-
9
]
|
2
[
0
-
3
]
)
[
:
]
[
0
-
5
]
[
0
-
9
]
(
[
:
]
[
0
-
5
]
[
0
-
9
]
)?
$
)
|
(
^
(
(
[
0
-
9
]
)
|
(
1
[
0
-
2
]
)
)
:
(
[
0
-
5
]
[
0
-
9
]
)
(
:
(
[
0
-
5
]
[
0
-
9
]
)
)?
\s
?
[
ap
]
m
$
)
/
gm
Open regex in editor
Description
Matches a time in either 25Hr or 12Hr format. Seconds are optional for either format.
Submitted by
anonymous
-
8 years ago