perl -pi.bak -e 's/\b(\w{1,2}v\w{1,2})\b/g$1<\/a>/" filename