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
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 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 12,100 community submitted regex patterns...
0
Readable fail2ban logs in AWS Cloudwatch
PCRE2 (PHP >=7.3)
Captures date, time, jail, action and ip address so they can be better formatted.
Submitted by
dtwx
-
2 years ago
0
Test Function Block
PCRE2 (PHP >=7.3)
Test
Submitted by
anonymous
-
2 years ago
0
cri logfmt
Golang
The CRI expr will match and parse log lines of this format: 2019-01-01T01:00:00.000000001Z stderr P some log message `
Submitted by
east4ming
-
2 years ago
0
括号匹配
Java 8
(\[]\])|(【】)|(())|(\(\))
Submitted by
nasion
-
2 years ago
0
Pan Number
PCRE2 (PHP >=7.3)
Pan Number
Submitted by
anonymous
-
2 years ago
0
GSTN
PCRE2 (PHP >=7.3)
Goods & Service Tax Numebr
Submitted by
anonymous
-
2 years ago
0
Name regex
PCRE2 (PHP >=7.3)
Custom name validation
Submitted by
anonymous
-
2 years ago
0
Snap Regex
PCRE2 (PHP >=7.3)
Pull property names snap Json
Submitted by
anonymous
-
2 years ago
0
Find next valid markup element of XML content
PCRE (PHP <7.3)
I created the regexp using the XML-specificaton (https://www.w3.org/TR/xml), but in a simplified format (for example allowing only a narrowed set of tag-name characters). The regular expression is a recursive regexp with backreference. I do not tested extensively the regex with a regex-directed engi...
Submitted by
GyRos
-
2 years ago
0
Money format
PCRE2 (PHP >=7.3)
Any money format
Submitted by
anonymous
-
2 years ago
0
IP Address
Java 8
IP Address RegEx
Submitted by
anonymous
-
2 years ago
0
Branch naming policy for internal GitHub
PCRE2 (PHP >=7.3)
To enforce branch names to include specific prefix and not allow some special characters.
Submitted by
TParry
-
2 years ago
0
匹配#结尾的电话号码和手机
Java 8
匹配#结尾的电话号码和手机
Submitted by
Leo
-
2 years ago
0
正規表現例
PCRE2 (PHP >=7.3)
正規表現の例です
Submitted by
anonymous
-
2 years ago
0
Jira issue number
Golang
Matches and catches Jira issue number
Submitted by
anonymous
-
2 years ago
0
#结尾的电话匹配
Java 8
#结尾的 电话匹配
Submitted by
anonymous
-
2 years ago
0
判断是否有非法字符(合法字符为数字+-# 以及{"0":0, "1":1}所包含的符号)
Java 8
判断是否有非法字符(合法字符为数字+-# |以及{"0":0, "1":1}所包含的符号) 能捕获的:包含汉字、英文字符、部分分割符(;、/)、各种括号的电话
Submitted by
Jiajian Ye
-
2 years ago
0
Find a word after an immediate pattern of characters
PCRE2 (PHP >=7.3)
This is done for finding data that is allocated after a defined pattern of letters. In this case the example is, after MID, finding the MID number in a raw data string.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Trim leading filename id
PCRE2 (PHP >=7.3)
Removes two numbers and an underscore
Submitted by
anonymous
-
2 years ago
0
lower case alpha and number
PCRE (PHP <7.3)
lower case alpha and number
Submitted by
anonymous
-
2 years ago
1
...
544
545
546
547
548
...
605
Remove multiple white spaces between words
2
Regular Expression
PCRE (PHP <7.3)
/
\s
{2,}
/
gm
Open regex in editor
Description
Remove multiple white spaces between words and replace it with the char of your choosing.
Submitted by
binary_fm
-
8 years ago