Does anyone now of a regular expression that will omit words in a string while replacing others?
havoc433
0
Newbie Poster
Recommended Answers
Jump to PostYou mean negative lookahead of regex? You could, it will search for the first occurrence. What would you do next if you find it?
OK, if I were to do it, I would firstly replace all occurrences of the word I specified with a unique set of symbols. Then …
All 4 Replies
Taywin
312
Posting Virtuoso
havoc433
0
Newbie Poster
Taywin
312
Posting Virtuoso
havoc433
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.