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 2,840 community submitted regex patterns...
1
Match the start of a link.
PCRE2 (PHP >=7.3)
https:// http:// https://\/\/ https:\/\/\/\/\/\ https://\/\/ ...
Submitted by
anonymous
-
3 years ago
1
Check special character except alpha_num
PCRE2 (PHP >=7.3)
Check special character except alpha_num
Submitted by
anonymous
-
3 years ago
1
Validate Float
PCRE2 (PHP >=7.3)
Non scientific float numbers validator
Submitted by
Tanmay Chakrabarty - cse.tanmay@gmail.com
-
3 years ago
1
hdfilmcehennemi ana filmler
PCRE2 (PHP >=7.3)
nothing
Submitted by
no one
-
3 years ago
1
Append _if to archive.org's links
PCRE2 (PHP >=7.3)
A regex to remove the iframe from archive.org in archived sites' links.
Submitted by
anonymous
-
3 years ago
1
List of regex for spell replacing
PCRE2 (PHP >=7.3)
Nothing interesting
Submitted by
Luke
-
3 years ago
1
Asset Market
PCRE2 (PHP >=7.3)
Asset market/exchange tests
Submitted by
anonymous
-
3 years ago
1
Minify JSON while protecting string value whitespace
PCRE2 (PHP >=7.3)
I use it so that I don't need to worry about formatting when working with unit tests in Kotlin, which means I don't worry too much about whether this is production quality, but it could be useful in other situations where the desire is to strip whitespace from a JSON object while protecting the valu...
Submitted by
anonymous
-
3 years ago
1
Mine
PCRE2 (PHP >=7.3)
smth
Submitted by
anonymous
-
3 years ago
1
Search for a date (Y/m/d or d/m/Y)
PCRE2 (PHP >=7.3)
Search for a date in a text.
Submitted by
globdug
-
3 years ago
1
Search for word breaks in CamelCase string
PCRE2 (PHP >=7.3)
This finds the boundaries of words in a camel case string
Submitted by
https://stackoverflow.com/questions/7593969/regex-to-split-camelcase-or-titlecase-advanced
-
3 years ago
1
Reasonable E-mail Validator v1.0
PCRE2 (PHP >=7.3)
Here is what I came up with for a 'reasonable' e-mail validator. Explanation @ https://geekalicious.org/d/90-validating-e-mail-addresses-with-regex-pcre
Submitted by
16BitMiker.com
-
3 years ago
1
CFF-definitions.reference.isbn
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.isbn value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
1
full url dissection
PCRE2 (PHP >=7.3)
any given url inside a text will be recognized and split into different groups: url (full url) scheme hostname (subdomain + domain + tld) port path...
Submitted by
ttschnz
-
3 years ago
1
SoundCloud Link Verification
PCRE2 (PHP >=7.3)
SoundCloud doesn't have usernames in their URLs, but the user can customize their url with the following rules for what comes after soundcloud.com/: • Use only numbers, lowercase letters, underscores, or hyphens. • Profile URLs must not start or end with an underscore or hyphen....
Submitted by
Dylan
-
3 years ago
(Last modified 3 years ago)
0
isNumber
PCRE2 (PHP >=7.3)
Find that given string is number or not.
Submitted by
anonymous
-
3 years ago
1
AXIO - Parsing debug:router command
PCRE2 (PHP >=7.3)
Parsing of a debug:router command output
Submitted by
anonymous
-
3 years ago
1
Pattern string
PCRE2 (PHP >=7.3)
Example of test I did do to company.
Submitted by
Claudio Santos
-
3 years ago
1
Match at least One upper, lower, number and Special char.
PCRE2 (PHP >=7.3)
Determines if string contains: 1 Uppercase 1 Lowercase 1 Number 1 Symbol
Submitted by
Rae
-
3 years ago
1
Select PHP Block Code
PCRE2 (PHP >=7.3)
Select php block code , start to end.
Submitted by
amir hossein khateri
-
3 years ago
1
...
6
7
8
9
10
...
142
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago