I want to match numbers/decimals even if there are commas and decimals. For example, I want it to be able to match in a sentence. The number could be in the middle of a sentence, at the start or end:
the number is 1000 today
the number is 1000.00 today
the number is 1000.142 today
the number is 1000.30 today
the number is 1000.200 today
the number is 1,000 today
the number is 1,000.00 today
the number is 1,000.142 today
the number is 1,000.30 today
the number is 1,000.200 today
I have tried ^\d*\.?\d+$
but doesn't seem to be working