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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 14,920 community submitted regex patterns...
0
Word Tokenizer
ECMAScript (JavaScript)
Word Tokenizer
Submitted by
anonymous
-
3 years ago
0
Grabbing inside quotes for Google Sheets
PCRE (PHP <7.3)
Sheets treats quote marks weird since that's a character used in formulas. This is the remedy for that. It does not work in the editor. This only works in Google Sheets
Submitted by
randywolf244
-
3 years ago
0
Extract root domain from URL
PCRE (PHP <7.3)
It will extract the root domain from any URL. This includes removing subdomains, www. and the slug.
Submitted by
randywolf244
-
3 years ago
0
Array shape documentation
Python
Matches array shape documentation comments.
Submitted by
anonymous
-
3 years ago
0
Excel ABS, SUM, AVG
Python
test
Submitted by
anonymous
-
3 years ago
0
Capture variable
Python
test
Submitted by
anonymous
-
3 years ago
-1
validade email
ECMAScript (JavaScript)
this regex validates e-mails. const isValid= .text(value)
Submitted by
anonymous
-
3 years ago
0
Vimeo FIle
ECMAScript (JavaScript)
Viimeo file.
Submitted by
Stephen Nelson
-
3 years ago
0
XWiki: Increase headings level
ECMAScript (JavaScript)
Makes 1st level headings the 2nd level etc. This comes handy when for example making an extra chapter from a part of an XWiki page. By-design, this regex also beautifies (normalizes) the headings syntax (like this regex).
Submitted by
pbodnar
-
3 years ago
0
XWiki: Decrease headings level
ECMAScript (JavaScript)
Makes 2nd level headings the 1st level etc. This comes handy when for example creating a new page from a part of an existing XWiki page. While this regex could also try to beautify (normalize) the headings at the same time, better use a dedicated regex for that.
Submitted by
pbodnar
-
3 years ago
0
XWiki: Beautify (normalize) headings
ECMAScript (JavaScript)
Beautifies (normalizes) headings of an XWiki page.
Submitted by
pbodnar
-
3 years ago
0
version and folder remove script line at html
ECMAScript (JavaScript)
version and folder remove script line at html
Submitted by
anonymous
-
3 years ago
0
Email Validation Pattern
Java 8
Email Validation Pattern
Submitted by
Aslam Anver
-
3 years ago
0
Regex Test on Slashes
Python
A regex test for filepaths.
Submitted by
anonymous
-
3 years ago
0
Senha forte
ECMAScript (JavaScript)
Regex simples para verificação de senha forte: /^ (?=.*\d) // deve conter ao menos um dígito (?=.*[a-z]) // deve conter ao menos uma letra minúscula...
Submitted by
anonymous
-
3 years ago
1
Parse CISCO NEXUS 9xxx/5xxxx show inventory output w/o | json modifier
Python
Parse CISCO NEXUS 9xxx/5xxxx show inventory output w/o | json modifier. Nexus 9xxxx don't have the json output modifier. It's a LINUX based os, so | json would fork a json binary which doesn't exist
Submitted by
skalef
-
3 years ago
(Last modified 3 years ago)
2
Get commands from Neebula Discovery Language NDL
ECMAScript (JavaScript)
Matches the commands from Neebula Discovery Language NDL, which is used in ServiceNow Discovery Patterns.
Submitted by
James Griffith
-
3 years ago
(Last modified 3 years ago)
1
Don't match numbers longer than 5 length
Python
using ^ and $
Submitted by
anonymous
-
3 years ago
1
CSV CIDR subnets
ECMAScript (JavaScript)
Comma separated CIDR network addresses
Submitted by
Glenn
-
3 years ago
1
single ling prop to multi line
ECMAScript (JavaScript)
single ling prop to multi line
Submitted by
anonymous
-
3 years ago
1
...
71
72
73
74
75
...
746
PARAM Formatter
0
Regular Expression
PCRE (PHP <7.3)
/
^\s
*
@
(?<param>
\S
+
)
(?<dtwhitespace>
\s
*
)
\/\*
##DATATYPE
\(
(?>
lhapp_owner
\.
)?
(?<datatype>
[^
)
]
+
)
[^
,
]
+
(?<outparam>
\s
*
OUT
)?
(?<comma>
,
?
)
(?<paramwhitespace>
\s
*
)?
(?<paramdoc>
--##PARAM
@
.
*
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago