RegEx for both, integer and float [closed]

This should work on most perl like regex engines:

/(\d+(?:\.\d+)?)/

Leave a Comment