Need help on redirect rule with #

Thank for all but about replace folder by wiki I dont find I would like remove /wiki and add #wiki:

olddomain.com///wiki

Forwarding URL (Status Code: 301 - Permanent Redirect, Url: https://newdomain.com/$1/$2#wiki)