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 17,580 community submitted regex patterns...
0
Format Australian Bank BSB number
PCRE2 (PHP >=7.3)
Format Australian Bank BSB number
Submitted by
anonymous
-
3 years ago
0
HL7 Locate message using fields from two segments.
ECMAScript (JavaScript)
This regex uses non capturing groups to start the match on the first field and then continue to match second field. SEGMENT\|(?:\|){}\|(?:\|){} SEGMENT is the first segment that has field to match on is the zero based count of the field in first segment...
Submitted by
Jo5eph
-
3 years ago
0
IPv6 & IPv4 checker (Typescript compatible)
ECMAScript (JavaScript)
const ipAddressRegexp = /((^\s((([0-9]|1-9|1[0-9]{2}|20-4|25[0-5])\.){3}([0-9]|1-9|1[0-9]{2}|20-4|25[0-5]))\s$)|(^\s((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9...
Submitted by
proddy
-
3 years ago
(Last modified 3 years ago)
0
catch url
PCRE (PHP <7.3)
Matches almost all url
Submitted by
anonymous
-
3 years ago
0
Regular expression for nested Curly brackets
PCRE2 (PHP >=7.3)
Regular expression for nested Curly brackets
Submitted by
Romuald
-
3 years ago
0
Detect French way
Python
Test if a string contains a french way word
Submitted by
anonymous
-
3 years ago
0
regex_tous_commerce
Python
nlp
Submitted by
guif
-
3 years ago
0
GitLab Path
PCRE2 (PHP >=7.3)
GitLab Path
Submitted by
anonymous
-
3 years ago
0
Regex 1
Java 8
Розділення речень в тексті
Submitted by
DJI
-
3 years ago
0
Виділення слів в тексті
PCRE2 (PHP >=7.3)
Виді лення слів в тексті
Submitted by
anonymous
-
3 years ago
0
Слова які починаються та закінчуються одинаково
PCRE2 (PHP >=7.3)
Слова які починаються та закінчуються одинаково
Submitted by
DJI
-
3 years ago
0
HTML code to HTML entity
PCRE (PHP <7.3)
Quick basic match for the conversion of an html code for the registered symbol to an html entity
Submitted by
Matthew Baker
-
3 years ago
0
найдет все числа и отрицательные и положительные в строке
PCRE2 (PHP >=7.3)
` const s = '23+-22.2222+-2334+5-5/225-8'; const re = /(?!:\W)(\-)?(\d+)[.]?(\d+)?/gm; console.log ( s.match ( re ) ); //[ '23', '-22.2222', '-2334', '5', '-15', '22', '5', '-8' ] `
Submitted by
Kasap Victor
-
3 years ago
0
regex_avec_bureau
Python
nlp
Submitted by
guif
-
3 years ago
0
Replace Percentage with dot, for comma and remove percent symbol
PCRE (PHP <7.3)
Substituir uma porcentagem "3.78%" por "3,78"
Submitted by
anonymous
-
3 years ago
0
Cities
PCRE2 (PHP >=7.3)
Cities
Submitted by
anonymous
-
3 years ago
0
regex_avec_bureau2
Python
regex
Submitted by
guif
-
3 years ago
0
regex_avex_commerce
Python
regex
Submitted by
guif
-
3 years ago
0
Numbers in Sequence
ECMAScript (JavaScript)
Checks string for numbers in sequence. Ex: 123, test345
Submitted by
anonymous
-
3 years ago
0
Match all text&newlines inside
Python
...
Submitted by
karkraeg
-
3 years ago
1
...
741
742
743
744
745
...
879
Almost working sites regex
0
Regular Expression
Python
r"
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
[
A
-
Z
]
{2}
)
\s
{2,}
(
[
A
-
Z
]
{2,}
)
\s
{2,}
(
\d
+
\s
+
[
A
-
Za
-
z
]
+
\s
*
\d
+
)
\s
{2,}
(
\d
+
\s
+
[
A
-
Za
-
z
]
+
\s
*
\d
+
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
-
?
\d
+
.\d
+
)
\s
{2,}
(
-
?
\d
+
.\d
+
)
"
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago