Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-10-09 01:00
Flavor·ECMAScript (JavaScript)

/
^.*:(\d+):(root|(user\/.*))$
/
i
Open regex in editor

Description

Extract AWS accountId from user arn given by get-user action

Submitted by AlexanderC