improved regex for Target tag