Test, validate and match regular expressions
Validates an FTP or SFTP URL that includes a username, hostname, and exactly 3 subfolder path segments. It matches strings starting with 'ftp://' or 'sftp://', followed by a username (word characters), an '@' symbol, a domain (word chars, hyphens, dots), and exactly three directory levels (each segment starting with a slash). Useful for strict URL format validation where a specific folder depth is required.