This is possible to convert as rxn[A+3B,C,k] to A+3B-->C but rate k is not possible i think so..! by taking the input from txt file as
open(IN,"input.txt");
while($line=<IN>)
{
@array=split("[",$line); #$array[1] contain "A+3b,C,k]"
@reaction=split(",",$array[1]); #now $reaction[0] =A+3B $reaction[1]=C
chop($reaction[2]);
print "$reaction[0] --$reaction[2]-> $reaction[1]"; #End of program
}
O/p is
A+3B --K-> C is possible ..!
I think this post is helpful.
Regards,
BalaSekar.