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 11,980 community submitted regex patterns...
1
SGML Element (.Net)
PCRE2 (PHP >=7.3)
Parses an SGML . Doesn't support name groups. Probably imperfect in other ways. Note this is crafted for .Net as things get a little weird with # matching.
Submitted by
Scott Bednar
-
3 months ago
1
SGML Element (.Net)
PCRE2 (PHP >=7.3)
Parses an SGML . It doesn't account for name groups. See https://sgmljs.net/docs/sgmlrefman.html. Note that the "Flavor" should be .NET as things get a little weird with the # matching.
Submitted by
anonymous
-
3 months ago
(Last modified 3 months ago)
1
Connection String Parser
PCRE2 (PHP >=7.3)
Parses connection strings into named groups Key and Value , which can then be handled by whatever programmatic method you like. Ideally handled as key value pairs. I did this in PowerShell using the below: function Resolve-ConnectionString {...
Submitted by
rbleattler
-
3 months ago
1
Replace all occurences of a caracter except if placed between "
PCRE2 (PHP >=7.3)
Replace all occurences of the caracter ; except if it placed between two " signs.
Submitted by
ccroche helped by ChatGPT
-
3 months ago
1
XC410
PCRE2 (PHP >=7.3)
QS
Submitted by
anonymous
-
3 months ago
1
Maven Version
PCRE2 (PHP >=7.3)
Based on https://docs.oracle.com/middleware/1212/core/MAVEN/maven_version.htm#A1000661 this validates all maven versions.
Submitted by
Baaji Shayeed Shaik
-
3 months ago
1
check csv content
PCRE2 (PHP >=7.3)
a
Submitted by
abc
-
3 months ago
1
https://shopee.com.my/minhao3313
PCRE2 (PHP >=7.3)
minhao3313
Submitted by
anonymous
-
3 months ago
1
hentialheroes id girl tag
PCRE2 (PHP >=7.3)
reading the id tag from the girl harem html
Submitted by
anonymous
-
3 months ago
1
Hungarian regular and vanity license plates both from 1990 and 2022 series
PCRE2 (PHP >=7.3)
All regular and vanity Hungarian plates are included from 1990 and from 2022. Special plates (customs, lost, diplomatic and so on), police, ambulance, etc. are not included.
Submitted by
gergelyfuzi
-
3 months ago
1
French mobile phone numbers
PCRE2 (PHP >=7.3)
French mobile phone numbers
Submitted by
anonymous
-
3 months ago
1
http search locale
PCRE2 (PHP >=7.3)
search locale in http
Submitted by
anonymous
-
3 months ago
1
Detect version of Chrome browser in navigator.userAgent
PCRE2 (PHP >=7.3)
Detect version of Chrome browser in navigator.userAgent
Submitted by
Avaray
-
3 months ago
1
PCRE2 (PHP >=7.3)
$ python -m aeneas.tools.execute_task --examples
Submitted by
anonymous
-
3 months ago
1
postgres regex
PCRE2 (PHP >=7.3)
He simply validate a uri for consuming an azure db
Submitted by
anonymous
-
3 months ago
1
Parse raw http request line
PCRE2 (PHP >=7.3)
Parse raw http request line
Submitted by
Dimas Lanjaka
-
3 months ago
1
regex tokopedia longlink
PCRE2 (PHP >=7.3)
regex tokopedia longlink
Submitted by
ival
-
3 months ago
1
regex tokopedia shortlink affiliate
PCRE2 (PHP >=7.3)
regex for tokopedia shortlink affiliate
Submitted by
ival
-
3 months ago
1
Remove Country Code (Genesys DIalplan)
PCRE2 (PHP >=7.3)
Xformation rule on Trunk level
Submitted by
Istvan Laszlo
-
3 months ago
1
GUID Identifier
PCRE2 (PHP >=7.3)
GUID Identifier
Submitted by
Fredrik Wallander
-
3 months ago
1
...
3
4
5
6
7
...
599
Syslog
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?P<month>
\S
{3}
)?
{1,2}
(?P<day>
\S
+
)
(?P<time>
\S
+
)
(?P<hostname>
\S
+
)
(?P<process>
.
*
?
(?=
:
\[
|
\[
|
\(
)
)
[^
a
-
zA
-
Z0
-
9
]
{1,3}
(?P<pid>
.
+
?
(?=
\]
|
\)
)
|)
[^
a
-
zA
-
Z0
-
9
]
{1,2}
(?P<info>
.
*
)
/
gm
Open regex in editor
Description
Grouping for standard ubuntu server syslog messages.
Submitted by
Jason King
-
2 years ago