Skip to content

Regular Expression for Matching a Decimal

Just because I know I’ll need to look this up in future.

-?d+(.d+)?