Trim molding removal help needed

I need to remove trim (see pic) without damaging it for badly needed body work on my restoration but not sure how its attached or how to remove it. The trim is behind the back seat window and the rear glass on my 64 Valiant 2 door 200. Any and all info is appreciated.
Floyd in Northeast Florida

20240721_091403.jpg