SyntaxFix
Write A Post
Hire A Developer
Questions
What about this?
[/]{0,1}([^/]+[/])*([^/]*)
Deterministic :
((/)|())([^/]+/)*([^/]*)
Strict :
^[/]{0,1}([^/]+[/])*([^/]*)$ ^((/)|())([^/]+/)*([^/]*)$