I have been searching and searching on this site and know I saw it once and can't find it again. 🙁 Here is what I am looking to do. I really don't understand regular expressions. However, I am working on it. Here is what I am trying to do.
Take a string like $match = "1a";
Now it contains a number so that's bad.
Take this string like $match = "123";
Now it contains all numbers so it's all good.
Basically if $match has ANYTHING other than numbers it just flips out and says no. I tried is_integer() but realized that's not what I am looking to do.
Thank you all,
Chad