I couldn't find an accurate solution for this on SO.
I have a Wordpress site that needs any URL that contains /blog/?p* to redirect to /blog
The * denotes the wildcard point. So any URL that starts with /blog/?p gets redirected.
I've tried:
RewriteRule ^/blog/?p.*$ http://website.com/blog
But that didn't work.