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 18,040 community submitted regex patterns...
0
Valid IBAN within any SEPA country (2021-10)
PCRE2 (PHP >=7.3)
This regex validates whether an IBAN is valid, it only considers IBAN from countries within the SEPA area. Specifications: https://www.iban.com/structure
Submitted by
Vadorequest
-
3 years ago
0
Match all brackets/parens only
PCRE2 (PHP >=7.3)
Match all brackets and nothing else: [] {} ()
Submitted by
anonymous
-
3 years ago
0
regex
Python
xx
Submitted by
anonymous
-
3 years ago
0
phone number
ECMAScript (JavaScript)
\+(374)\s{1}([)]\s{1}\d{2}[-]{1}\d{2}[-]{1}\d{2}$ +374 (98) 11-11-11
Submitted by
anonymous
-
3 years ago
0
argon2 string format
ECMAScript (JavaScript)
Based on phc string format specification: https://github.com/P-H-C/phc-string-format/blob/master/phc-sf-spec.md
Submitted by
opliko
-
3 years ago
0
Find text between two words
PCRE2 (PHP >=7.3)
Find text between two words
Submitted by
suha a
-
3 years ago
0
Regex for only alphabets
PCRE (PHP <7.3)
Regex for only alphabets
Submitted by
anonymous
-
3 years ago
0
muliti json replace
ECMAScript (JavaScript)
replace multi json for vscode
Submitted by
anonymous
-
3 years ago
0
IBAN Ukraine
PCRE2 (PHP >=7.3)
Checcking IBAN number for Ukraine
Submitted by
anonymous
-
3 years ago
0
Mammars tumour dx
PCRE2 (PHP >=7.3)
identifying mammary tumour diagnosis
Submitted by
Georgia Salmon
-
3 years ago
0
Regex that matches laughter interjections in Spanish
Python
Regex that matches laughter interjections in Spanish
Submitted by
alexcg
-
3 years ago
0
Telephone numbers for Spain, national calls. Ver.2
PCRE2 (PHP >=7.3)
It validates the phone numbers for Spain, national calls. Only digit number format, without spaces, dots nor dashes. This second version allows a empty string. OK: 630222544 941641893...
Submitted by
sajime
-
3 years ago
0
Another WordPress Classified Plugin Date Conversion
PCRE2 (PHP >=7.3)
Convert your date from yyyy-mm-dd to mm/dd/yyyy and your time from hour:minute:second to hour:minute. You can manipulate the data further with your own function.
Submitted by
anonymous
-
3 years ago
0
comic script seperate PANEL, DIALOG, action div class
PCRE2 (PHP >=7.3)
orignal question and image: https://www.reddit.com/r/regex/comments/q8igd4/how_can_i_group_the_second_green_group_end_of/hgpydig/?context=3
Submitted by
anonymous
-
3 years ago
0
Вся строка начиная со слова
PCRE2 (PHP >=7.3)
а
Submitted by
anonymous
-
3 years ago
0
Pandoc Markdown reference-style link
ECMAScript (JavaScript)
Matches Windows & POSIX absolute and relative paths, Windows UNC paths, URIs, and optionally image titles or classes: \[my label 1\]: /foo/bar.jpg "My title, optional" {.class} \[my label 2\]: ~/foo/bar.png "My title, optional" \[my label 3\]: /foo/bar.jpg 'My title, optional' \[my label 4\]: ~/...
Submitted by
Matt Jolly <Matt.Jolly@footclan.ninja>
-
3 years ago
0
Check a google docs sharing link
ECMAScript (JavaScript)
Check if a link is a google docs sharing link.
Submitted by
Kelechi Apugo
-
3 years ago
0
Check Dribbble profile url
ECMAScript (JavaScript)
Check a Dribbble profile url is valid
Submitted by
Kelechi Apugo
-
3 years ago
0
check behance profile url
ECMAScript (JavaScript)
check if a behance profile url is valid
Submitted by
Kelechi Apugo
-
3 years ago
0
get domain from url
Python
From link Get domain from url start with: http, https, www, or abc:abc.google.com
Submitted by
anonymous
-
3 years ago
1
...
777
778
779
780
781
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?P<dst_ip>
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
)?
,
?
(?P<User>
[
a
-
zA
-
Z._
\d
]
+
)
,
(?P<src_ip>
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
)
:
(?<ID>
\d
+
)
/
gm
Open regex in editor
Description
This regular expression can be used in SIEM or scripts to extract special fields such as:
Submitted by
EskiSlav
-
3 years ago
(Last modified 3 years ago)