I have very little background in web development, so I'm hoping someone can walk me through setting up a regular expression for one of my products.
The product has 2 options defined by dropdown menus, each is a 2 digit number. I would like to make a regular expression to ensure the larger number is chosen first, since pricing is based off of the larger number.
For example:
Option1 = 65
Option2 = 45
is a valid option combination
Option1 = 45
Option2 = 75
is not valid.
Seems like this should be pretty straightforward if I knew anything about javascript!

Can someone help me out with some example code? Thanks in advance.