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
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
0
Email finder
Python
Find emails in a string.
Submitted by
anonymous
-
2 years ago
0
Phone number finder
Python
Finds a phone number.
Submitted by
anonymous
-
2 years ago
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
temporary python files on replit
PCRE2 (PHP >=7.3)
used in inotifywait command to check which file was modified last
Submitted by
anonymous
-
2 years ago
-1
regex to check for buffer printing
Python
This regex checks if c/c++ code contains char buffer that is later printed.
Submitted by
tagoras
-
2 years ago
0
3 Letras para clave Aeropuerto
PCRE2 (PHP >=7.3)
Encuentra 3 letras para enlistar claves de Aeropuerto
Submitted by
anonymous
-
2 years ago
0
match glassId
PCRE2 (PHP >=7.3)
使用边界来匹配输出
Submitted by
anonymous
-
2 years ago
0
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
-
2 years ago
0
chapter
PCRE2 (PHP >=7.3)
a
Submitted by
anonymous
-
2 years ago
1
...
64
65
66
67
68
...
902
Community Library Entry
0
Regular Expression
Python
r"
^\s
*
(
.
+
?
)
\s
*
$
"
Open regex in editor
Description
trimming whitespaces from the beginning and from the end
Submitted by
anonymous
-
2 years ago