I need to remove the black plastic trim running between the side windows and the doors (circled in yellow) and at the base of the soft top to body (circled in green).

Given that it's a 30 year old vehicle now, I thought it would be best to ask for guidance before snapping/breaking old brittle plastic. Any advise on how best to remove both of these?