FSM2REGEX

let items = document.querySelectorAll('text')
nitems = Array.from(items)
nitems.map((item,i) => { if(item.innerHTML === '$') item.innerHTML = 'ε'})
Skull Sherbet