I recently acquired a script that creates some nonexistent pages that I need redirected. For example domain.com/category/category1-randomtext I have many duplicate pages in webmasters tools because this script generates pages with some random characters after the category..for ex domain.com/category/category1-randomtext1 domain.com/category/category1-randomtext2 etc. Is there a way I can redirect ALL urls containing this random text to the category..for ex domain.com/category/category1-randomtext to domain.com/category/category1