How to extract barcode?

I have one field here the field details

Lable: Scan Barcode
fieldname: scan_barcode
type: Barcode

When im inspecting that field im getting this data

'<svg height="88px" width="100%" x="0px" y="0px" viewBox="0 0 587 88" xmlns="http://www.w3.org/2000/svg" version="1.1" style="transform: translate(0,0)" data-barcode-value="ADAPTORUSB-204"><rect x="0" y="0" width="587" height="88" style="fill:#ffffff;"></rect><g transform="translate(10, 10)" style="fill:#000000;"><rect x="0" y="0" width="6" height="50"></rect><rect x="9" y="0" width="3" height="50"></rect><rect x="18" y="0" width="3" height="50"></rect><rect x="33" y="0" width="3" height="50"></rect><rect x="39" y="0" width="3" height="50"></rect><rect x="51" y="0" width="6" height="50"></rect><rect x="66" y="0" width="3" height="50"></rect><rect x="72" y="0" width="6" height="50"></rect><rect x="87" y="0" width="3" height="50"></rect><rect x="99" y="0" width="3" height="50"></rect><rect x="105" y="0" width="3" height="50"></rect><rect x="117" y="0" width="6" height="50"></rect><rect x="132" y="0" width="9" height="50"></rect><rect x="144" y="0" width="9" height="50"></rect><rect x="156" y="0" width="6" height="50"></rect><rect x="165" y="0" width="6" height="50"></rect><rect x="174" y="0" width="9" height="50"></rect><rect x="192" y="0" width="3" height="50"></rect><rect x="198" y="0" width="3" height="50"></rect><rect x="210" y="0" width="9" height="50"></rect><rect x="222" y="0" width="6" height="50"></rect><rect x="231" y="0" width="6" height="50"></rect><rect x="246" y="0" width="3" height="50"></rect><rect x="252" y="0" width="9" height="50"></rect><rect x="264" y="0" width="6" height="50"></rect><rect x="273" y="0" width="9" height="50"></rect><rect x="285" y="0" width="9" height="50"></rect><rect x="297" y="0" width="6" height="50"></rect><rect x="306" y="0" width="9" height="50"></rect><rect x="318" y="0" width="3" height="50"></rect><rect x="330" y="0" width="3" height="50"></rect><rect x="342" y="0" width="3" height="50"></rect><rect x="348" y="0" width="6" height="50"></rect><rect x="363" y="0" width="3" height="50"></rect><rect x="372" y="0" width="6" height="50"></rect><rect x="381" y="0" width="9" height="50"></rect><rect x="396" y="0" width="6" height="50"></rect><rect x="408" y="0" width="9" height="50"></rect><rect x="423" y="0" width="3" height="50"></rect><rect x="429" y="0" width="3" height="50"></rect><rect x="438" y="0" width="9" height="50"></rect><rect x="450" y="0" width="6" height="50"></rect><rect x="462" y="0" width="6" height="50"></rect><rect x="474" y="0" width="3" height="50"></rect><rect x="483" y="0" width="9" height="50"></rect><rect x="495" y="0" width="3" height="50"></rect><rect x="501" y="0" width="3" height="50"></rect><rect x="510" y="0" width="6" height="50"></rect><rect x="528" y="0" width="6" height="50"></rect><rect x="543" y="0" width="9" height="50"></rect><rect x="555" y="0" width="3" height="50"></rect><rect x="561" y="0" width="6" height="50"></rect><text style="font: 16px monospace" text-anchor="middle" x="283.5" y="68">ADAPTORUSB-204</text></g></svg>'

I’m getting in svg format but I want like this ADAPTORUSB-204 this the code I past in the scan_barcode field how to extract the value.

is there any js funtion is there?
or is there any python funtion is there?

I need a utility funtion if there.