Regular Expressions 101

Community Patterns

Your search did not match anything

Community Library Entry

2

Regular Expression
ECMAScript (JavaScript)

/
(cmd|command)\s+?=\s?\\?(.*\"|concat\s?\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\})
/
gm

Description

Matches the commands from Neebula Discovery Language NDL, which is used in ServiceNow Discovery Patterns.

Submitted by James Griffith - 4 years ago (Last modified 4 years ago)