How to convert formatted html which get from jenkins active choices reactive reference parameter to list of ansible?

Hi All,

How to convert formatted html which get from jenkins active choices reactive reference parameter to list of ansible?

example

jenkins parameter
output : [a,b]

Build section specific on ansible method
extra var: ${output}