Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 9,620 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
括号匹配
Java 8
(\[]\])|(【】)|(())|(\(\))
Submitted by
nasion
-
a year ago
2022-04-21 11:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
a year ago
2022-04-24 13:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP Address
Java 8
IP Address RegEx
Submitted by
anonymous
-
a year ago
2022-04-24 15:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配#结尾的电话号码和手机
Java 8
匹配#结尾的电话号码和手机
Submitted by
Leo
-
a year ago
2022-04-26 03:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Jira issue number
Golang
Matches and catches Jira issue number
Submitted by
anonymous
-
a year ago
2022-04-26 09:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
#结尾的电话匹配
Java 8
#结尾的电话匹配
Submitted by
anonymous
-
a year ago
2022-04-26 14:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
判断是否有非法字符(合法字符为数字+-# 以及{"0":0, "1":1}所包含的符号)
Java 8
判断是否有非法字符(合法字符为数字+-# |以及{"0":0, "1":1}所包含的符号) 能捕获的:包含汉字、英文字符、部分分割符(;、/)、各种括号的电话
Submitted by
Jiajian Ye
-
a year ago
2022-04-26 14:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
lower case alpha and number
PCRE (PHP <7.3)
lower case alpha and number
Submitted by
anonymous
-
a year ago
2022-04-27 02:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Golang Docker matcher
Golang
Used by me for docker-retagger
Submitted by
Roman Minebaev
-
a year ago
2022-04-28 18:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Username Middle name Surname regex matcher
Java 8
Username Middle name Surname regex matcher
Submitted by
Nikola
-
a year ago
2022-05-03 16:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
basic gitlab rule for job to not be runned automaticaly for specific branch
PCRE (PHP <7.3)
rules: if: '$CI_COMMIT_BRANCH !~ /^release|hotfix|$CI_DEFAULT_BRANCH\/.*$/' when: manual allow_failure: true when: always `
Submitted by
Kramtoske
-
a year ago
2022-05-04 08:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Time in hh:mm:ss
PCRE (PHP <7.3)
19h32min16s
Submitted by
anonymous
-
a year ago
2022-05-05 22:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Something...
Java 8
Look for all entries of a country on a list that can have repeated values
Submitted by
anonymous
-
a year ago
2022-05-06 10:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
String length pattern
Golang
Simple search of string length with the regexp
Submitted by
anonymous
-
a year ago
2022-05-10 05:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
使用した正規表現
PCRE (PHP <7.3)
用例の検索のために使用した正規表現です。
Submitted by
anonymous
-
a year ago
2022-05-11 14:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CDATA Matcher
Java 8
Matches CDATA sections while disallowing nesting
Submitted by
anonymous
-
a year ago
2022-05-16 16:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mikrotik Regex Firewall Log Golang
Golang
Regex para uso com Grafana Loki Log feito via Mangle, com prefix $user do freeradius.
Submitted by
Vitor Abbade
-
a year ago
2022-05-18 12:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find between
PCRE (PHP <7.3)
find between
Submitted by
anonymous
-
a year ago
2022-05-20 15:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配邮箱
Golang
[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by
Lintao
-
a year ago
2022-05-23 06:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extraire les informations du chemin d'une photo
PCRE (PHP <7.3)
Extraire les informations du chemin d'une photo.
Submitted by
Nicolas
-
a year ago
2022-05-27 17:04
1
...
467
468
469
470
471
472
473
...
481
Website validation
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
a
/
gi
Open regex in editor
Description
Loading markdown...
Submitted by
McSwagLord
-
7 years ago
2016-04-20 10:11
(Last modified 2 months ago)
2023-07-25 16:07