Updated regex to remove [^\_]*