Any good options to prune out similar-but-variable bits of text from a large document?
LANA_DEL_KARENINA @ LANA_DEL_KARENINA @lemmy.world Posts 0Comments 1Joined 1 yr. ago
LANA_DEL_KARENINA @ LANA_DEL_KARENINA @lemmy.world
Posts
0
Comments
1
Joined
1 yr. ago
The good news: there is a tool built to solve this exact problem: regular expressions (aka regex)
The bad news: regular expressions are famously frustrating to read and write
Depending on how badly you want the problem solved and how patient you are, using online resources to craft some regular expressions would be the ticket