Regular Expressions 101

Library entries

MongoDB Connection String regex

Vote

1

Regular Expression
pcre

/
mongodb:\/\/(?:(?:[^:]+):(?:[^@]+)?@)?(?:(?:(?:[^\/]+)|(?:\/.+.sock?),?)+)(?:\/([^\/\.\ "*<>:\|\?]*))?(?:\?(?:(.+=.+)&?)+)*
/

Description

Loading markdown...
Submitted by anonymous - 6 years ago