removing empty pre obtained by using re search

Signed-off-by: krishnatejaperannagari <krishnatejaperannagari@gmail.com>