Search and Replace
-
In visual c++. I want to make a compiler code that search for the $ and then again search for the another $ sign and delete anything between those two $ signs and saves new file called anyname thx
interesting :doh:
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
interesting :doh:
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
mohit`12 wrote:
but Need Help getting it done
Since you did not explain where it is that you want to search, i.e. your question is rather vague, it is difficult to offer more than a vague suggestion. Try this: Look at each character in turn and when you find a '$' sign make a note of its position. Then continue searching for the next one until you reach the end. If you find a second '$' then remove all the characters between the two positions. Where is the difficulty?
It's time for a new signature.
-
Use a regular expression to do this. It's hardly something for this forum though, is it?
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
Forgive your enemies - it messes with their heads