Regular Expressions 101

Library entries

aws-arn-parser

Vote

1

Regular Expression
pcre2

/
^arn:(?P<Partition>[^:\n]*):(?P<Service>[^:\n]*):(?P<Region>[^:\n]*):(?P<AccountID>[^:\n]*):(?P<Ignore>(?P<ResourceType>[^:\/\n]*)[:\/])?(?P<Resource>.*)$
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 months ago