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,800 community submitted regex patterns...
0
Matches everything but digits and allows for one decimal point.
ECMAScript (JavaScript)
Matches everything but digits and allows for one decimal point. cannot start with a negative Allowed: 123...
Submitted by
Random Guy 70hz
-
2 years ago
0
QueryString and Datasource
ECMAScript (JavaScript)
asdasd
Submitted by
anonymous
-
2 years ago
0
Website Regex
ECMAScript (JavaScript)
Finds all website URLs
Submitted by
JohnnyJTH
-
2 years ago
0
password strong
PCRE (PHP <7.3)
password 8-16 with A-Z a-z 0-9 and !@#$ without %
Submitted by
alfxjx
-
2 years ago
0
find email addresses
Golang
find email addresses
Submitted by
anon
-
2 years ago
(Last modified 2 years ago)
0
get teacher url
ECMAScript (JavaScript)
will match ^/teacher//list$ ^/teacher//file/$ ^/teacher//info/$ ...
Submitted by
anonymous
-
2 years ago
0
Clean phone numbers
ECMAScript (JavaScript)
(204)555-5555 (204)-(555)-(5555) 204-555-5555 To: 2045555555
Submitted by
smitpatelx
-
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
Default HTML5 with German Umlauts
ECMAScript (JavaScript)
Adds german special characters äöüß to the default HTML5 regex
Submitted by
mroettgen
-
2 years ago
0
JavaScript Parse CSS Selector
ECMAScript (JavaScript)
Parse CSS Selector in the form element#id.class into its components. Any of the three elements can be missing.
Submitted by
Mark
-
2 years ago
0
Get First Name
ECMAScript (JavaScript)
Grab a first name from a full name string
Submitted by
Tom
-
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
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
ipv4
ECMAScript (JavaScript)
IPv4 string check in JavaScript RegEx
Submitted by
clarkttfu@gmail.com
-
2 years ago
0
Jira issue number
Golang
Matches and catches Jira issue number
Submitted by
anonymous
-
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
Golang Docker matcher
Golang
Used by me for docker-retagger
Submitted by
Roman Minebaev
-
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
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
1
...
616
617
618
619
620
...
640
WinSCP file list parse
0
Regular Expression
ECMAScript (JavaScript)
/
(
^
[
-rwx
]
{10}
\s
*
[
\w\d
]
*
\s
*
[^
\s
]
*
\s
*
[^
\s
]
*
\s
*
(?<size>
\d
*
)
\s
*
.
{20}
\s
*
(?<name>
[^
\n
]
*
)
$
)*
/
mgi
Open regex in editor
Description
Capture details of file sizes and names from a ls listing from WinSCP
Submitted by
anonymous
-
2 years ago