View Single Post
Old 07-28-2002, 06:51 PM   PM User | #2
Centaur
New to the CF scene

 
Join Date: Jul 2002
Location: Novosibirsk, Russia
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Centaur is an unknown quantity at this point
Code:
$data1 =~ s/[^ 0-9A-Za-z]//g;
$data2 =~ s/[^ 0-9A-Za-z]//g;
$data3 =~ s/[^ 0-9A-Za-z]//g;
$data5 =~ s/[^0-9A-Za-z]//g;
$data6 =~ s/[^0-9]//g;
The last one will only do what you asked, that is, it will also change "2.5+3.7=6.2" into "2.53.76.2".
Centaur is offline   Reply With Quote