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