Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

/
(?'pair'(?'d'-)(?'lcv'\w+)(?'s'\s)(?'dol'\$)(?'o'\()(?'ucv'\w+)(?'c'\)))(?'es'\s?)
/
g

Description

This script helps you take the ARM template parameter override line from VSTS and break each variable combo down to its own line.

Submitted by Paul Daly - 9 years ago