Build, test, and debug regular expressions
This regular expression is designed to match the protocol scheme for FTP and secure FTP (FTPS) URLs, specifically looking for either "ftp://" or "ftps://". It utilizes a non-capturing group to group the entire scheme while capturing the protocol name ("ftp" or "ftps") and the colon-slash-slash part ("://") separately. It is commonly used in Java or Kotlin applications to validate, extract, or check if a given string starts with or contains an FTP-based URL protocol.