How to validate dynamic path variables in Javascript?
I want to find and validates dynamic path variable. User can enter url and dynamic path variable in input box like below. http://localhost:3000/{abc} https://google.com/{a}/{bb}/{ccc} Dynamic path variable is optional. Therefore url that does not have path variable is also fine.…