The value of product_id can be a combination of letters and numbers, for example: GB47NTQQ.
I want to check if everything except the 3rd and 4th characters matches.
Sort of:
if product_id = GBxxNTQQ //where x could be any number or letter. //do things else //do other things
How can I accomplish this using JavaScript?
user1104092
source share