Regular Expressions 101

Sponsors

Library entries

1
python

Matching url

no description available
Submitted by anonymous - 8 years ago
1
javascript

Demo

no description available
Submitted by Tensibai - 8 years ago
1
pcre

foobar

no description available
Submitted by anonymous - 8 years ago
6
pcre

json

{1:aa,2:bb,3:"aa:bb"}
Submitted by suat & umut - 8 years ago
1
pcre

json

no description available
Submitted by suat & umut - 8 years ago
1
python

auie

auie
Submitted by auie - 8 years ago

SFTP with username and optional port & password

Vote

0

Regular Expression
pcre

/
(?<protocol>s?ftp):\/\/(?<user>[^@\s]+)@(?<host>[^\?\s:]+)(?::(?<port>[0-9]+))?(?:\?(?<password>.+))?
/
gm

Description

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