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 12,080 community submitted regex patterns...
0
MSSQL data source and initial catalog
PCRE2 (PHP >=7.3)
given a connection string to MSSQL server, we want to extract the URL and the name of the database. these are the "data source" and "initial catalog" fields respectively. The regex does not assume an order between those fieldss
Submitted by
Noam
-
2 years ago
(Last modified 2 years ago)
0
title
PCRE2 (PHP >=7.3)
title
Submitted by
anonymous
-
2 years ago
0
DADOS
PCRE2 (PHP >=7.3)
CAPTURAR
Submitted by
anonymous
-
2 years ago
0
Apache user agent regex
PCRE2 (PHP >=7.3)
This regex groups data for easy parsing based on typical Apache user agent logs. The regex will never fail; it matches anything, even if user agent is atypical. Whitespaces on matches will need to be cleaned programmatically. Submitted by: Dennis Faas https://www.infopackets.com
Submitted by
anonymous
-
2 years ago
0
Floating point and scientific notation regex
PCRE2 (PHP >=7.3)
Matches real/FP numbers which may optionally also include a scientific notation/exponent part.
Submitted by
Kevin Winner
-
2 years ago
0
dc/i
PCRE2 (PHP >=7.3)
特定の文字移行続く
Submitted by
anonymous
-
2 years ago
0
Print
PCRE2 (PHP >=7.3)
Print
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Find encoded "&" and extract parts
PCRE2 (PHP >=7.3)
Gets the parts of a url either side of an encoded "&" (as \u0026).
Submitted by
anonymous
-
2 years ago
0
Extract the subject of the company
PCRE2 (PHP >=7.3)
Extracts the subject of the company from strings extracted from PDF documents. \n represents a line break in the original PDF document.
Submitted by
marr.vinn
-
2 years ago
0
enum fields to enum mapping
PCRE2 (PHP >=7.3)
.
Submitted by
DenKu1
-
2 years ago
0
Find more than one word in SQL
PCRE2 (PHP >=7.3)
Finds instances of more than one word in SQL.
Submitted by
Matthew Hiebing
-
2 years ago
0
4 Digits 3 Decimals
PCRE2 (PHP >=7.3)
4 Digits 3 Decimals
Submitted by
anonymous
-
2 years ago
0
DétectionMontantBasic
PCRE2 (PHP >=7.3)
Expression pour récupérer la valeur d'un montant sur facture
Submitted by
OurosIgnis
-
2 years ago
0
datetime?
PCRE2 (PHP >=7.3)
Attempt at datetime parsing
Submitted by
anonymous
-
2 years ago
0
conditional
PCRE2 (PHP >=7.3)
conditional
Submitted by
anonymous
-
2 years ago
0
reset capture
PCRE2 (PHP >=7.3)
reset capture
Submitted by
anonymous
-
2 years ago
0
reset
PCRE2 (PHP >=7.3)
reset
Submitted by
anonymous
-
2 years ago
0
reset1
PCRE2 (PHP >=7.3)
reset1
Submitted by
anonymous
-
2 years ago
0
Fix property names with spaces generated by odata2poco
PCRE (PHP <7.3)
Run in notepad++, replace with \u$1
Submitted by
anonymous
-
2 years ago
0
Include non-whitespace
PCRE2 (PHP >=7.3)
Prevents whitespace only string
Submitted by
anonymous
-
2 years ago
1
...
574
575
576
577
578
...
604
Community Library Entry
0
Regular Expression
Python
r"
^\s
{7}
(
[
-A
]
?
\d
+
)
\s
+
(
(
.
|
\n
)*
?
)
\n^\s
{24}
(
[
A
-
Z
]
{0,2}
\d
{3}
(
\.
\d
+
)?
(
\s
(
\w
+
)
)?
)
"
gm
Open regex in editor
Description
Matches entries in a library catalogue.
Submitted by
anonymous
-
a year ago