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,840 community submitted regex patterns...
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
IP Address
Java 8
IP Address RegEx
Submitted by
anonymous
-
2 years ago
0
RGB 256 Function Notation
ECMAScript (JavaScript)
Standardized RGB 256 Notation for CSS Functions. For Example: const str = "255, 255, 255"; // Match const str = "0, 10, 200"; // Match...
Submitted by
anonymous
-
2 years ago
0
匹 配#结尾的电话号码和手机
Java 8
匹配#结尾的电话号码和手机
Submitted by
Leo
-
2 years ago
0
ipv4
ECMAScript (JavaScript)
IPv4 string check in JavaScript RegEx
Submitted by
clarkttfu@gmail.com
-
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
AWS SSM Cron Schedule Matcher
ECMAScript (JavaScript)
Matches the expression inside the "cron()" expression of a SSM Window.
Submitted by
Jean Nussenzveig
-
2 years ago
0
lower case alpha and number
PCRE (PHP <7.3)
lower case alpha and number
Submitted by
anonymous
-
2 years ago
0
Architectural CSI (Construction specifications institute)
ECMAScript (JavaScript)
CSI is a documentation standard for Architectural buildings and specifications in construciton. Tihs matches the code based on the typical patterns in ues and returns the Number and the description if it iexists. May need retooling for Autodesk Model checker.
Submitted by
Ron Allen 2022
-
2 years ago
0
Username Middle name Surname regex matcher
Java 8
Username Middle name Surname regex matcher
Submitted by
Nikola
-
2 years ago
0
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
-
2 years ago
0
INSEE code for french municipalities
ECMAScript (JavaScript)
This is a regex that allows you to match INSEE codes for a french municipality. It is different from a french postal code, because it can have "A" or "B" in its second character, used in codes for cities located in Corse. Example: 2A004 for Ajaccio. ...
Submitted by
thomasdom
-
2 years ago
(Last modified 2 years ago)
0
Email regex
ECMAScript (JavaScript)
email regex with subdomain
Submitted by
anonymous
-
2 years ago
0
File Size Parsing Pattern
ECMAScript (JavaScript)
Purpose This pattern is used to parse human readable text strings regarding file sizes. The pattern names four capture groups in the string for the following purposes: ...
Submitted by
Vincent Engler
-
2 years ago
(Last modified an hour ago)
0
Time in hh:mm:ss
PCRE (PHP <7.3)
19h32min16s
Submitted by
anonymous
-
2 years ago
0
Something...
Java 8
Look for all entries of a country on a list that can have repeated values
Submitted by
anonymous
-
2 years ago
0
user name between 2 and 30 character
ECMAScript (JavaScript)
regex for user name with criteria: Minimum 2 character Maximum 30 character Character must be alphanumeric, except first character is alphabetical Character "_" and "." is allowed once between first and last character
Submitted by
aicone.id
-
2 years ago
(Last modified 9 months ago)
0
hash and slash
ECMAScript (JavaScript)
replace url that has a hash or slash with slash
Submitted by
anonymous
-
2 years ago
0
Strong Password (three of the four type)
ECMAScript (JavaScript)
must use at least three of the four available character types: lowercase letters, uppercase letters, numbers, and symbols.
Submitted by
anonymous
-
2 years ago
1
...
615
616
617
618
619
...
642
us postal/zip
14
Regular Expression
ECMAScript (JavaScript)
/
(
^
[
0
-
9
]
{4}
?
[
0
-
9
]
$
|
^
[
0
-
9
]
{4}
?
[
0
-
9
]
-
[
0
-
9
]
{4}
$
)
/
gm
Open regex in editor
Description
no description available
Submitted by
jay johnson
-
10 years ago