Forum Moderators: phranque
RewriteCond %{QUERY_STRING} (^|&)num=[0-9]+(&|$)
RewriteRule ^path/article\.pl$ http://www.example.com/new-article/ [R=301,L]
What is the ​ repeated multiple times in the URL?
See the [0-9] bit of the pattern. That lists the characters that are valid for the query string value (the part after the "equals" sign).
Can I use [0-9/] here?
([0-9]{5,9}/[0-9]{1,3})