Regular Expressions 101

Community Patterns

postgres regex

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(postgresql:\/\/)?([a-zA-Z]{2,}(@)?[a-zA-Z]{2,}):([a-zA-Z]{2,}(@)?[a-zA-Z]{2,})(.+):(\d{4,})\/([a-zA-Z]{2,})
/
g

Description

He simply validate a uri for consuming an azure db

Submitted by anonymous - 3 months ago