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
匹配句子,第一个单词首字母大写,结尾匹配句号、问好、感叹号。
ECMAScript (JavaScript)
[A-Z]+[\.?!]
Submitted by
anonymous
-
2 years ago
0
Extract a string key's values from a json
Java 8
Sample: Finds errorType key values from a json. Values are returned in capturing group 1 of each match. Both UNKNOWN and UNAUTHENTICATED will be captured. ...
Submitted by
amansaryal
-
2 years ago
(Last modified 2 years ago)
0
sql inj
ECMAScript (JavaScript)
as
Submitted by
anonymous
-
2 years ago
0
id
PCRE2 (PHP >=7.3)
getid
Submitted by
anonymous
-
2 years ago
0
id
PCRE2 (PHP >=7.3)
getid
Submitted by
anonymous
-
2 years ago
0
inefficient int/float(exponent)
PCRE (PHP <7.3)
match a single number
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
iPhone, iPad, iPod user agent
PCRE2 (PHP >=7.3)
Regex matches iPhone, iPad, iPod user agents. Tested against 250k apache log lines. By Dennis Faas https://www.infopackets.com
Submitted by
anonymous
-
2 years ago
0
ChromeOS user agent
PCRE2 (PHP >=7.3)
Regex matches Chrome OS user agents. Tested against 4.5k apache log lines. By Dennis Faas https://www.infopackets.com
Submitted by
anonymous
-
2 years ago
0
e-mail regex
PCRE2 (PHP >=7.3)
Validates an email address
Submitted by
anonymous
-
2 years ago
0
正则提取
PCRE2 (PHP >=7.3)
ss
Submitted by
sss
-
2 years ago
0
3 digits + M
PCRE2 (PHP >=7.3)
I've used this for filtering files which are bigger than 100 M and smaller than 1 GB
Submitted by
anonymous
-
2 years ago
0
partnkey value
Java 8
Extract value partn_key
Submitted by
anonymous
-
2 years ago
0
Slurs
PCRE2 (PHP >=7.3)
Not made with ill intentions.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
BI/CC
.NET 7.0 (C#)
Verificação do número de BI/CC
Submitted by
anonymous
-
2 years ago
0
TXN ID
PCRE2 (PHP >=7.3)
VIL ID
Submitted by
anonymous
-
2 years ago
0
Importing Confluence Application Logs to Amazon Athena
PCRE (PHP <7.3)
Though in Athena you would need two backslash instead of one as listed above in Regex. expression in Athena. "input.regex" = '^(.?) (.?) (.?) \\[(.?)\\] \\[(.*?)\\] (.+)$'
Submitted by
Chirag Parikh
-
2 years ago
0
Identify and group Certificate and Private Key from a combination PEM file
PCRE2 (PHP >=7.3)
Identify and group Certificate and Private Key from a combination PEM file
Submitted by
@rbleattler
-
2 years ago
0
Get IP adress from proxy scrapper
PCRE2 (PHP >=7.3)
Get the IP Address and port from the proxybroker report "bluet/proxybroker2"
Submitted by
anonymous
-
2 years ago
0
Bad Markdown Links matcher
ECMAScript (JavaScript)
// Expecting this is a string, will try to replace md links // in wrong format: // [link nowhere] or [link] // to just link nowhere or link
Submitted by
diegoaguilar
-
2 years ago
0
Matches filenames in urls
ECMAScript (JavaScript)
Filenames in urls
Submitted by
anonymous
-
2 years ago
1
...
857
858
859
860
861
...
902
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(
[
+-
]
?
)
(?:
"
(
[^
"
]
*
)
"
|
'
(
[^
'
]
*
)
'
|
(
[^
\s
+
]
+
)
)
/
g
Open regex in editor
Description
no description available
Submitted by
@bananascript
-
10 years ago