How to identify string pattern within a string but ignore if the match falls inside of identified pattern?

This problem goes beyond regular regex I would say. The $$$ patterns can be fixed with negative lookbehind, the others won't as easily What I would recommend you to do is to first use tokenizing / manual string parsing to discard unwanted data, such as or LOOKING( .... ) This could however also be removed by another regex such as: myWords. ReplaceAll("/\\*^*/+\\*/", ""); // removes /* ... */ myWords.

ReplaceAll("#LOOKING\\(^)+\\)", ""); // removes #LOOKING( ... ) Once stripped of context-based content you can use e..g, the following regex: (?They act only as prefix/suffix conditions in the above sample.

This problem goes beyond regular regex I would say. The $$$ patterns can be fixed with negative lookbehind, the others won't as easily. What I would recommend you to do is to first use tokenizing / manual string parsing to discard unwanted data, such as /* ... */ or #LOOKING( .... ).

This could however also be removed by another regex such as: myWords. ReplaceAll("/\\*^*/+\\*/", ""); // removes /* ... */ myWords. ReplaceAll("#LOOKING\\(^)+\\)", ""); // removes #LOOKING( ... ) Once stripped of context-based content you can use e..g, the following regex: (?\\$)\\$FOR_\\p{Alnum}+(?=\\s;) Explanation: (?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions