added regex to remove wordpress shortcodes