Regular Expressions 101

Sponsors

Library entries

0
javascript

Remove empty line ➜ ^\s*[\r\n]

no description available
Submitted by anonymous - 2 years ago
0
javascript

zyBooks Compare Unit test

no description available
Submitted by anonymous - 2 years ago
0
javascript

v1

no description available
Submitted by anonymous - 2 years ago
0
python

select per lines

lawbyte
Submitted by anonymous - 2 years ago
0
python

select 2 lines

no description available
Submitted by anonymous - 2 years ago
0
python

select 200 lines

no description available
Submitted by anonymous - 2 years ago
0
python

find host + key from map

no description available
Submitted by anonymous - 2 years ago
0
python

url match with full match

dxdx
Submitted by anonymous - 2 years ago
0
pcre2

ПОДЛЕСОК

no description available
Submitted by anonymous - 2 years ago
0
javascript

我的test

no description available
Submitted by anonymous - 2 years ago

email or empty

Vote

1

Regular Expression
javascript

/
(^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,}$|^(?![\s\S]))
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago