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.
Become a sponsor today!
Community Patterns
Search among 11,840 community submitted regex patterns...
2
Regex tutorial
Java 8
Case insensitive match the whole word betwween \bword\b
Submitted by
anonymous
-
4 years ago
(Last modified 10 months ago)
2
Task 4 Quiz
PCRE2 (PHP >=7.3)
It needs a major modification, since matching an integer is required. The accepted answer \d+ involves only "positive" integers. But -333 or +777 are also integers, which leads to two possible solutions with the last one being the most accurate: -?\d+ : The hyphen (optional minus sign) and a digit ...
Submitted by
seQuienSoy
-
2 years ago
2
Discord Username (old & new)
PCRE2 (PHP >=7.3)
Accomodate for Discord's username changeover and match against either the old username or the new username. But only one or the other. Match: CesarHvl#9000 cesarhvl cesar.hvl...
Submitted by
cesarhvl
-
a year ago
2
Basic Phone Number Verification
PCRE (PHP <7.3)
Verifies a phone number
Submitted by
anonymous
-
11 years ago
2
Get Currency SYMBOL/CODE
PCRE (PHP <7.3)
no description available
Submitted by
Ka.
-
11 years ago
2
Regex Capture String
PCRE (PHP <7.3)
Capture out Parts using regular expressions
Submitted by
Brandon
-
10 years ago
2
IPv4
PCRE (PHP <7.3)
no description available
Submitted by
Jorge C.
-
9 years ago
2
facebook post embed code
PCRE (PHP <7.3)
This pattern matches to the facebook post embed codes. It matches on each parts of the whole embed code individualy, and matches on the complete embed code either, but it requires minimum a fb-post div.
Submitted by
kristian tanacs
-
9 years ago
2
URL
PCRE (PHP <7.3)
Matches the URL from the text to 95 percentage
Submitted by
Harinath
-
9 years ago
2
Replace REM by blank
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Grab all hyperlinks
PCRE (PHP <7.3)
no description available
Submitted by
Josh Bourke
-
9 years ago
2
Twitter user profile url pattern
PCRE (PHP <7.3)
Pattern that check your string to match Twitter user profile URL.
Submitted by
JSC Quatrodev
-
9 years ago
2
YouTube Iframe parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
END on new line
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
Remove script tags from code
PCRE (PHP <7.3)
Regular expression to remove only the tags from the code. The regular expression only removes the tags, not the JS code inside the tag.
Submitted by
IvenMS
-
8 years ago
2
Select first letter of words
PCRE (PHP <7.3)
Selects first letter of space separted word with exceptions. This allows bypassing 's and such. Forcing separating charter can be set at [\s&\/] $1: separating part...
Submitted by
anonymous
-
8 years ago
1
PHP ReflectionParameter:__toString() parser
PCRE (PHP <7.3)
See http://www.php.net/manual/en/reflectionparameter.tostring.php
Submitted by
Erin Millard
-
11 years ago
1
Matching Multiline Strings in Large Text File
PCRE (PHP <7.3)
Need Help, Matching Multiline Strings in Large Text File
Submitted by
jholderman
-
10 years ago
1
4-digit numeric w/o leading zero and no repeat digits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
french phone number (intl format)
PCRE (PHP <7.3)
little matcher for french phone number in international format (example: +33231348228)
Submitted by
Nolwennig
-
9 years ago
1
...
25
26
27
28
29
...
592
Panel Mark
1
Regular Expression
PCRE (PHP <7.3)
/
(
^\d
*
\+
\d
*
|
^\d
*
)
\s
*
(
[
A
-
Z
]
*
\s
*
[
A
-
Z
]
*
\s
*
)
(
\d
*
)
(
[
A
-
Z
]
{0,2}
)
\-
*
\+
*
(
\d
*
)
(
[
A
-
Z
]
{0,2}
)
/
gm
Open regex in editor
Description
no description available
Submitted by
Hoss
-
8 years ago