Regular Expressions 101

Community Patterns

convert package.json to single line of library names without versions

1

Regular Expression
ECMAScript (JavaScript)

/
"([a-z-@/0-9\.-]+)"(: ".+",?\n)
/
gm

Description

no description available

Submitted by anonymous - 3 years ago