Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-11-10 21:11
Flavor·Python

r"
(?=^.{3,63}$)(?!xn--)([a-z0-9](?:[a-z0-9-]*)[a-z0-9])$
"
gm
Open regex in editor

Description

Validates an s3 bucket name, reference: https://stackoverflow.com/a/62673054/6014177

Submitted by anonymous