Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(?<=(\s|\b)users:\[)([a-zA-Z0-9_, ]*)(?=\])
/
gm

Description

self explainatory title, usernames array must not contain any exotic character besides ,

Submitted by Lagoffre - 5 months ago