Regular Expressions 101

Sponsors

Library entries

4
pcre

Task 1

Finds a happy smile, except sad one
Submitted by Kovalev Evgeny - 9 years ago
4
pcre

Hungarian ANDOK system id

no description available
Submitted by Tana - 9 years ago
4
pcre

Command handling

Handles commands like in CMD
Submitted by anonymous - 8 years ago
4
pcre

Get URL parameters

no description available
Submitted by anonymous - 8 years ago
4
pcre

utf-8 hex.

utf-8 hex. code armenian. Firs character regexp
Submitted by Dyxx - 8 years ago
4
pcre

uri parser

no description available
Submitted by anonymous - 8 years ago
4
pcre

Phone number

no description available
Submitted by Mark Landry - 7 years ago

Mask an email regex

Vote

4

Regular Expression
pcre

/
(?<=.).(?=[^@]*?.@)|(?:(?<=@.)|(?!^)\G(?=[^@]*$))(.)(?=.*\.)|(?:(?<=\.)(?=[^.]+$)|(?!^)\G(?=[^@.]*$))[^.](?!$)
/
gm

Description

Loading markdown...
Submitted by Wiktor Stribi┼╝ew - 7 years ago