Hurkpan Potgieter

Greenhorn
+ Follow
since Nov 26, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Hurkpan Potgieter

I also got to this page from a top hit in google.

I use the following regex to check whether a string is numeric or not.

((-|\\+)?[0-9]+(\\.[0-9]+)?)+

Valid:
4324
+4123
12321.43
-123.432432
100.00

Invalid:
3243.
32 3232
1231.32131.333
-
+-1232134.12
Any text

Example:
9 years ago