I have a URL like this:
I had a problem and many duplicated pages have been created like this:
www.example.com/freelance-jobs-new-york-php-php www.example.com/freelance-jobs-new-york-php-php-php www.example.com/freelance-jobs-new-york-php-php-php-php
And so on, those pages have the same content as the main one, so what I did to fix it was redirecting all the pages with more than two times php keyword in the URL to the main URL.
But I have did it late, so Google has to redirect maybe more than 20.000 pages that have been already crawled.
So I want to setup a Disallow in robots.txt to block it for spending resources on those urls.
So my question is, what pattern should I use to disallow pages with more than two times the keyword php in the URL?
Disallow: /*php*php* work as expected? I am asking this because I don't want to accidentally block good URLs.