I hope you're all doing well. I have a question about regular expressions in PHP.
I am currently working on a project where I need to validate input for positive numbers ranging from 1 to 99, up to 1 decimal place.
For example, valid inputs would be: 1, 2, 3.5, 99.9
Invalid inputs would be: 0, -1, 100, 1.23
I was wondering if anyone could help me with the regular expression pattern to achieve this validation in PHP. I have been struggling with this for a while now and would greatly appreciate any guidance or suggestions.
Thank you in advance for your help!