• kbal@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    It can be done with simple regex of the kind proposed in various answers there iff the html is known to be limited to the subset of html where that sort of thing can easily be made to work. The question does not tell us whether or not that is the case, so everyone is free to make their own assumptions and argue as if they know what’s going on.