Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

-1

Regular Expression
ECMAScript (JavaScript)

/
\{\s*#each\s+(\w+)\s+in\s+(\w+)\s*\}([\s\S]*?)\{\s*\/each\s*\}
/
i

Description

Match an email address and the TLD (.com, .net, .org etc)

String: test@test.net Matches: test@test.net|.net

Submitted by Frosty - 2 years ago (Last modified 5 months ago)