I have a url route I want to match only has url parameter
router.get('/:id',function(req,res,next){
}
Now the problem is other url like test, favicon all matches this path. I want to match only url path which is hash like and other related hash strings which will be random.
%242a%2410%24mbh0scotTihKwL69eKwVBuSoAShai4Qo8yY0HLPRlh0Pq0ospfAcm
I have tried with regular expression but , i dont seem to get my regex to match.
[a-z0-9][-!$%^&*()_+|~=`{}\[\]:";'<>?,.\/]{50,}$
I want to match any string with special characters with length of 50 and above .Can anyone help me ? Thank you
^[-a-zA-Z0-9!$%^&*()_+|~=`{}\[\]:";'<>?,.\/]{50,}$or^[a-zA-Z0-9][-a-zA-Z0-9!$%^&*()_+|~=`{}\[\]:";'<>?,.\/]{49,}$