Regular Expression To Match Mailto Links

Category: URI

A regular expression to match a mailto link, without subject, cc, bcc, and body parameters.

/mailto:[a-zA-Z0-9_.+-][email protected][a-zA-Z0-9-]+\.[a-zA-Z0-9.-]+/

Matches:

Non-matches:

Rate This Regex
Sending
User Review
0 (0 votes)

Expression Flags

Flags Description
i Ignore case sensitive.
g Allows global search.
m Allows multiline search.
Category: URI