joined:Feb 5, 2003
How do you make perl search for say today([^&]+)today, where ([^&]+) is any number, then make it a variable, for example $12345. Then change it to 123.45, and then do math to it, 123.45*.40 = 49.38 with 49.38 being what the $12345 variable is at the end?
Is it possible to change
$id2 =~ s*today([^&]+)today*$1*g;
so it creates the $12345 variable?