Regular Expressions 101

Community Patterns

10

UUID

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 9 years ago

Truncate words to only 2 first characters of the word

0

Regular Expression
ECMAScript (JavaScript)

/
(\w{2}).*?\b
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago