# [V (vim)], 16 bytes

    qq:s/.^H//
    @qq@q

[Try it online!][TIO-kn9ndwdf]

[V (vim)]: https://github.com/DJMcMayhem/V
[TIO-kn9ndwdf]: https://tio.run/##JcIxCoAwDAXQ3VP8zUXs7lScunqBQpFYA9qYNnj9Osh7b@@qS3NzDM4NXtVr7yuh8E4wgZ3ccIhcMfwyFbvoTmXCSWPDy42NS8ZR5cYu9ZGajBC2@QM "V (vim) – Try It Online"

similar to sed, but uses Vim's recursion.