I am good at php but not sure where to start with this one.
I would like to check when someone enters a pattern that matches 1 of 2 options:
PP000000X - X represents a letter, 0 represents a number and there is a prefix of PP
PPR0000000- 0 represents a number and there is a prefix PPR
IF the pattern is matched then it checks the DB for a match, if there is a match then it attaches a css class 'match' or 'nomatch'
I know that is a lot to work with but I just need some pointers.
Thank you for any help!