Does anyone now of a regular expression that will omit words in a string while replacing others?
Jump to Post
You 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
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.