working mtip
fixed incorrect regex