Venkatesh Naik -
You can try with below regex pattern that might work for your requirements:
^(a|//[^/]+/[^/]+?)$
Thanks,
Nivedipa
*************************************************************************
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here )to escalate.