This matches any string beginning with an alphabetic, and containing zero slashes or exactly three consecutive slashes.
^[A-Za-z][^/]*(///[^/]*)?$
4
solved Regular expression in Python [closed]
This matches any string beginning with an alphabetic, and containing zero slashes or exactly three consecutive slashes.
^[A-Za-z][^/]*(///[^/]*)?$
4
solved Regular expression in Python [closed]