Thanks for the swift reply Jim. (and sorry about the links). I'm not sure that I explained my problem too well but, in a nut shell, I want to redirect an incoming http://www.example.com/poems.shtml%23Leisure as http://www.example.com/poems.shtml#Leisure. I'll give your rewrite a try and see if that works. Thanks.
Nope. That still gives me a 404. Looking at the code am I right to believe it is placing everything before the %23 in $1 and everything after it in $2 and then writing them with a '#' between?