I need to find a regualer expression that contains the following conditions
- Start with /appl/
- Does not end with /
- does not contain a hyphen (-) anywhere
For example:
/appl/test01
Would be wrong:
/appl/test-01
/appl/test01/
/appl/test-01/
I have created the following and it does what I need except for the hyphen part
^\/appl\/[\W-]+[/][\W-]|\/appl\/[\W-]+$|[^/]$
Thank you in advance