For notedeck you could probably reuse most of the bots parsing
https://github.com/f321x/nostr-tracking-token-remover/blob/main/src/parsing.rs
nice, you should make that into a library
Please Login to reply.
Done, https://crates.io/crates/untrack