I know there are a ton of questions in regards to regex, but I've never really been able to wrap my head around how these work.
Here's my regex:
(?!^0*$)(?!^0*\.0*$)^\d{0,10}(\.\d{1,2})?$
It's for numeric values only, with up to two decimal places.
I'm looking for an answer, but more specifically, what does what so I can better understand it. I need to be able to match 0, 0.00. or 00.00 in this expression.
Thank you.