If that's a factory installed top, the mouldings are attached on the backside with nuts. Tough to get to. The roof rail has an aluminum retaining strip embedded in clear silicone caulk, with a few pop rivets. You'll have to gouge out the silicone, and drill out the rivets. Be careful with the strips, they must be re-used and no one makes them.