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
There are currently no sponsors. Click
here
to read more.
Community Patterns
Search among 11,800 community submitted regex patterns...
0
ipv4
PCRE2 (PHP >=7.3)
To check IPv4
Submitted by
anonymous
-
a year ago
0
Remove Whitespace
PCRE2 (PHP >=7.3)
no more whitespace
Submitted by
Me
-
a year ago
0
find specific property of angular component
PCRE2 (PHP >=7.3)
This can be used in vscode to search in your repo if a property has been used in your component. name of component: it-grid name of property selectedItems
Submitted by
Salmin
-
a year ago
(Last modified a year ago)
0
BACassetList
PCRE2 (PHP >=7.3)
Find CMS asset entries in HTML "Table"
Submitted by
anonymous
-
a year ago
0
CURDEPTH\([^0].*\)
PCRE2 (PHP >=7.3)
CURDEPTH\(.*\)
Submitted by
anonymous
-
a year ago
0
Parse getopt options from a Bash script
PCRE (PHP <7.3)
This will parse the parameters/arguments that a Bash script when it uses getopt(s). Groups: name,short,long,while Example cases: ...
Submitted by
Spyingwind
-
a year ago
0
Name with title
PCRE2 (PHP >=7.3)
Name with title
Submitted by
anonymous
-
a year ago
0
Mysite
PCRE (PHP <7.3)
Hello
Submitted by
anonymous
-
a year ago
0
Strict URL validation
PCRE2 (PHP >=7.3)
(?!.[.]{2})((https?|http)\:\/\/)?([a-z0-9+!(),;?&=\$.-]+(\:[a-z0-9+!(),;?&=\$.-]+)?@)?([a-z0-9-.-.]?(?!.\/).)\.([a-z]{2,1000})(\:[0-9]{2,5})?(\/([a-z0-9+\$-]\.?)+)\/?(\?a-z+&\$.-)?(#a-z_.-)?
Submitted by
Adwin Raj GP
-
a year ago
0
match csrf token
PCRE2 (PHP >=7.3)
Matches the csrf token in the meta data
Submitted by
anonymous
-
a year ago
0
Discord Invite link - Updated
PCRE2 (PHP >=7.3)
Can match 7 variations of invites (the page discord.com/servers/ is included)
Submitted by
Diso
-
a year ago
0
Regex Colon Code For Emoji
PCRE (PHP <7.3)
Groups the ID, and finds the whole colon code
Submitted by
ZackiBoiz
-
a year ago
(Last modified a year ago)
0
Anime Xdcc Name + Episode Regex
Golang
Parse XDCC filename strings for a name and episode. Appears to work for most major bots but unreliable for any data other than name and episode number/version
Submitted by
anonymous
-
a year ago
0
Isolate some string (any caracthers) in between isolators, none or many
PCRE (PHP <7.3)
This expression isolates a string or many strings of any caracthers that are preceded and are followed by a pair of colons in a long text string. Practical for tooltip insertion. Find a word in the string, search in the database, construct the tooltip and insert within the returned string. Use wi...
Submitted by
Marc De Gagné
-
a year ago
0
mariadb err.log format
PCRE2 (PHP >=7.3)
extracting Warning , User and Message fileds
Submitted by
anonymous
-
a year ago
0
email vaildation
PCRE2 (PHP >=7.3)
email
Submitted by
anonymous
-
a year ago
0
NAPTR DNS record matcher
PCRE2 (PHP >=7.3)
This pattern identifies both variants of possible NAPTR DNS records
Submitted by
ggalmazor
-
a year ago
0
GO SDK
PCRE2 (PHP >=7.3)
go sdk
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
REACT SDK V3
Golang
React SDK V3
Submitted by
anonymous
-
a year ago
0
Valid HTTP/HTTPS Callback
PCRE2 (PHP >=7.3)
Used to Validate a callback or link
Submitted by
tim
-
a year ago
1
...
571
572
573
574
575
...
590
semantic tags
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
=
|
>=
|
<=
|
=>
|
=<
|
>
|
<
|
!=
|
~
|
~>
|
\^
)?
(?P<major>
0
|
[
1
-
9
]
\d
*
)
\.
(?P<minor>
0
|
[
1
-
9
]
\d
*
)
\.
(?P<patch>
0
|
[
1
-
9
]
\d
*
)
(?:
-
(?P<prerelease>
(?:
0
|
[
1
-
9
]
\d
*
|
\d
*
[
a
-
zA
-
Z-
]
[
0
-
9a
-
zA
-
Z-
]
*
)
(?:
\.
(?:
0
|
[
1
-
9
]
\d
*
|
\d
*
[
a
-
zA
-
Z-
]
[
0
-
9a
-
zA
-
Z-
]
*
)
)*
)
)?
(?:
\+
(?P<buildmetadata>
[
0
-
9a
-
zA
-
Z-
]
+
(?:
\.
[
0
-
9a
-
zA
-
Z-
]
+
)*
)
)?
$
/
gm
Open regex in editor
Description
semantic tags
Submitted by
anonymous
-
a year ago