htaccess redirect double query string
<p>Due to a coding error I have a bunch of false URLs that need to be rewritten in htaccees.</p>

<p>The query part of the URL got somehow duplicated and must now be stripped down to a single query part, e.g.</p>

<p><a href="http://www.example.com/?abc=def/?abc=def" rel="nofollow">http://www.example.com/?abc=def/?abc=def</a> to <a href="http://www.example.com/?abc=def" rel="nofollow">http://www.example.com/?abc=def</a></p>

<p>I was hoping to find a solution with wildcards so that it would work whenever a double query string occurs - regardless of the query. However my coding skills are not good enough to do so ...</p>

<p>I hope you can help! :-)</p>