Regular Expressions 101

Community Patterns

Angular Dependencies Extraction

0

Regular Expression
PCRE (PHP <7.3)

/
"(.+?)": "[\^]*(.+?)",\n
/
g

Description

"es6-shim": "^0.35.0",
"lodash": "^4.13.1",
"ng2-bootstrap": "^1.0.16",
"reflect-metadata": "0.1.3",
"rxjs": "5.0.0-beta.6",
"systemjs": "0.19.26",
"zone.js": "^0.6.12"

substitute with $1@$2 to

es6-shim@0.35.0 lodash@4.13.1 ng2-bootstrap@1.0.16 reflect-metadata@0.1.3 rxjs@5.0.0-beta.6 systemjs@0.19.26
Submitted by Aymon Fournier - 8 years ago