Added Regular expressions check on routes