Introducing regex in check and removing unused items from menu.