First off, I'm not very proficient at programming. I've got a few macros to help me with work, but I needed clear examples to make those.
I want to find any instances in a Word document that has multiple underscores and replace them with a set number of underscores. There could be anything from 30 to 5 underscores in a row, and I want to be able to find those and replace them with exactly 10 underscores. The underscores are most often in their own paragraph, but sometimes they're together with text.
I've had a look around on the site and online, but I can't see how to do it with an unknown number of underscores.
If someone could point me in the right direction, I'd be really grateful. Thanks.