Regular Expressions 101

Sponsors

Library entries

103
javascript

trim

trim string
Submitted by fp - 9 years ago

Email address (most used)

Vote

30

Regular Expression
javascript

/
^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$
/
i

Description

Loading markdown...
Submitted by Jago - 7 years ago