> s/(\d\d\.\d*)/
this will exclude numbers smaller than ten (already so in marto's post)
Supposing all numbers have a decimal point, I'd say s/(\d+\.\d*)/
It's really hard to guess which formats are possible and where they'll appear.
In the end the safest way is use a JSON parser.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re^2: In-place regex substitution
by LanX
in thread In-place regex substitution
by lmocsi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |