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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 3,860 community submitted regex patterns...
1
Regex not work in online regexEditor but work in actionscript3 code
ECMAScript (JavaScript)
Regex : /^\s\d+\s$(?:\r?\n?)+^\s([\d:,\.]+)\s-->\s([\d:,\.]+)\s$(?:\r?\n?)+((?:.(?:\r?\n?)?)?)(?:\r\n|\r|\n|$)/gm; Test String : 1...
Submitted by
anonymous
-
10 years ago
1
Date extractor
ECMAScript (JavaScript)
Substitutes a group of dates by its information and captures the date information. Also allows fooled dates. (2015-02-30, 2015-03-32 for example)
Submitted by
luis140219 on GitHub
-
10 years ago
1
Parser
ECMAScript (JavaScript)
Need everything inside this as separate variable :)
Submitted by
anonymous
-
10 years ago
1
Chords
ECMAScript (JavaScript)
Expression to match a large amount of possible musical chords. From what I understand from musicians, the number of chords is basically infinite, but you will still find a certain scope being used freuently.
Submitted by
A=B
-
10 years ago
1
Find a select or select top in a query
ECMAScript (JavaScript)
Some times we need replace de first select in a query to another. In my case i want replace to "Select top 1". With that a can replace any select to select top 1.
Submitted by
Diego TroitiƱo
-
10 years ago
1
number separator positions
ECMAScript (JavaScript)
finds the positions in a number to be replaced with a thousands separator, e.g. 12345 => 12`345
Submitted by
anonymous
-
10 years ago
1
t4
ECMAScript (JavaScript)
43t
Submitted by
34t
-
10 years ago
1
Non-parentheses characters, but allow escaped parentheses.
ECMAScript (JavaScript)
Trying to discover how to select all ranges except non-escaped parentheses.
Submitted by
anonymous
-
10 years ago
1
Find all BR tags in a string
ECMAScript (JavaScript)
Find all BR tags in a string
Submitted by
Mahima
-
10 years ago
1
url
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
LMC date match
ECMAScript (JavaScript)
no description available
Submitted by
David Zurcher
-
10 years ago
1
Get value from string
ECMAScript (JavaScript)
Used to get a value from a class e.g.: [...] class="font-12"[...] This regEx will receive "12" given the content of the class
Submitted by
Gabriel R. Sezefredo
-
10 years ago
1
Trim
ECMAScript (JavaScript)
Trims a string without selecting any unnecessary text.
Submitted by
Vihan Bhargava
-
9 years ago
1
German ZIP Validation
ECMAScript (JavaScript)
Validates German ZIP codes
Submitted by
wehmoen
-
9 years ago
1
URL domain test
ECMAScript (JavaScript)
tests to find if ("google.com") is the domain part of the URL
Submitted by
anonymous
-
9 years ago
1
filtrar jadx
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
filterprocyonerror
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
jQuery Validation Email Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Digit
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
URL regex without anchors
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
124
125
126
127
128
...
193
Community Library Entry
3
Regular Expression
Golang
`
^
(?P<scheme>
[^
:
\/
?#
]
+
)
:
(?:
\/\/
)?
(?:
(?:
(?P<login>
[^
:
]
+
)
(?:
:
(?P<password>
[^
@
]
+
)?
)?
@
)?
(?P<host>
[^
@
\/
?#:
]
*
)
(?:
:
(?P<port>
\d
+
)?
)?
)?
(?P<path>
[^
?#
]
*
)
(?:
\?
(?P<query>
[^
#
]
*
)
)?
(?:
#
(?P<fragment>
.
*
)
)?
`
gm
Open regex in editor
Description
Extract URL parts only named capturing groups
Submitted by
dixanms
-
3 years ago