Replace hash tag constructs