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 13,020 community submitted regex patterns...
0
Parse VB.Net
PCRE (PHP <7.3)
Goal is to map Visual Basic functions: their names, input parameters, dependencies, and outputs. Eventual goal is to map interactions between functions to identify circular logic.
Submitted by
anonymous
-
2 years ago
0
First Name (+ Middle Name) and Last Name Shredder
Java 8
Allows you to shredder first name (+ middle name) and last name.
Submitted by
Yusuf Yaşar
-
2 years ago
0
Zarf docker domain matcher
Golang
Used by Zarf to swap the registry domain/port part an image url without needed the docker libraries. usage in go: func SwapHost(src string, targetHost string) string { var parser = regexp.MustCompile((?im)^([a-z0-9\-.]+\.[a-z0-9\-]+:?[0-9]*)?/?(.+)$) var substitution = targetHost + "/$2" return...
Submitted by
Jeff McCoy
-
2 years ago
0
http_url_regex
PCRE (PHP <7.3)
http_url_regex
Submitted by
anonymous
-
2 years ago
0
Text case matcher, grouping words no separator
ECMAScript (JavaScript)
This regex is intented to match all words in a given string, remove all case separators. It match strings written in PascalCase, camelCase, kebab-case or snake_case.
Submitted by
Florent Catiau-Tristant
-
2 years ago
0
Extract (4.) Switch port state test values by columns
Java 8
adminl2j@child-ex2300-24t> show interfaces ge-0/0/0 terse Interface Admin Link Proto Local Remote ge-0/0/0 up up ge-0/0/0.0 up up eth-switch
Submitted by
Dobri
-
2 years ago
0
Nate158
ECMAScript (JavaScript)
https://cdn.jsdelivr.net/npm/idb@7/build/umd.jshttps://www.gstatic.com/firebasejs/8.10.0/firebase-messaging.jshttps://www.gstatic.com/firebasejs/8.10.0/firebase-app.js
Submitted by
anonymous
-
2 years ago
0
parse dpserver url
Golang
parse dpserver url
Submitted by
qianshen
-
2 years ago
0
Suprimir trozo de cadena
ECMAScript (JavaScript)
RegExp: /^([a-zA-Z_ ]*)([\d]{3})\s/i Para: "errorTrace":"E ZLE_PCI_PORTAL_UNLAE 036 El pedido 1581983 no existe en SAP o fue borrado anteriormente "
Submitted by
José Raimundo Montes
-
2 years ago
0
SPO URL Validation
ECMAScript (JavaScript)
Validates SharePoint Online URLs starter regex. This regex has not been tested heavily but it's a good starting point.
Submitted by
tbali
-
2 years ago
0
HAKKEr
PCRE (PHP <7.3)
dsasd
Submitted by
anonymous
-
2 years ago
0
Multi Line Copy Right Header
Java 8
Matches a copyright header in a Java-esque multi line comment
Submitted by
PhiSe
-
2 years ago
0
aa
PCRE (PHP <7.3)
aa
Submitted by
anonymous
-
2 years ago
0
top Level Domain
ECMAScript (JavaScript)
match top Level Domain
Submitted by
anonymous
-
2 years ago
0
truncate 2 or 3 positions decimal
ECMAScript (JavaScript)
Case 3 position is 0 take 3 otherwise take 2
Submitted by
anonymous
-
2 years ago
0
select only words
ECMAScript (JavaScript)
exclude all non character or digits or point colons semicolons ...
Submitted by
anonymous
-
2 years ago
0
Extract Snooze Date
ECMAScript (JavaScript)
[]
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Hexo Markdown Post Parser
ECMAScript (JavaScript)
Parse header and body from hexo markdown post format
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Replace last segment of url?
ECMAScript (JavaScript)
Work in Progress
Submitted by
anonymous
-
2 years ago
0
draft-js-markdown mention link regex
ECMAScript (JavaScript)
draft-js-markdown mention link regex
Submitted by
anonymous
-
2 years ago
1
...
614
615
616
617
618
...
651
匹配#结尾的电话号码和手机
0
Regular Expression
Java 8
"
(
\d
*
#
\D
)
|
(
\d
*
#
^
)
"
mg
Open regex in editor
Description
匹配#结尾的电话号码和手机
Submitted by
Leo
-
2 years ago