Hi Community,
Here's real challenging one.
How can I use "find" to locate the situations in a document where all of the following conditions are met:
- a word or series of words follows a slash
- the word or series of words must not be followed by a comma
AND any one of the following 4:
- the word or series of words must end at (and not include) any parenthesis
- the word or series of words must end at (and not include) any numeral
- the word or series of words must end at (and not include) any bold text
- the word or series of words must end at (and not include) a space followed by a hyphen
I assume it's nearly impossible to meet all of the 4 lower conditions in one single command, and that's fine if so.
Here's a sample of the text I'm working with:
CELEBRITY 1 (n. famous person) supa dupa/supa dupa, suup/supe 2 (n. small-time celebrity; locally popular person) staar bwai/star bwoy, staar gyal/star gyal
CHALLENGE tes X fi/tess X fi, seh X fi/seh X fi (X=person)
What I hope to accomplish is to be able to find the cases like "/supe" and "/star gyal" and "/seh X fi" and then delete them.
Highest respect to anyone who knows how to do this sort of thing.
Eric