Thanks in advance for taking a look at this. I'm having some difficulty extracting something to create a sports project. I've got the following situation:
lastName, firstName #33 6
Which works fine with the following:
var number = $(this).text().match(/\d{1,2}/);
But, if I use it for the following (missing the number) than it's grabbing the 6, because obviously I am searching for one or two digits.
lastName, firstName # 6
Basically what I'm trying to do is pull in a one or two digit number after the number sign (if there is one) but ignore anything that comes after it and before it (# included). I'm not extremely handy with RegEx so hopefully one of you are able to understand what I mean by this.