Trying to find source segments that start with "With"


I can’t figure out how to write a regular expression to find source text/segment that starts with the word “With” in Xbench.

Could you tell me what the regex should look like?


If you wish to find all segments starting with “With”, please use the following regular expression:


In Regex, the caret symbol (^) stands for beginning of segment.


If the user only wanted to find segments that begin with “with” but not that begin with “without”, the regex would be ^with>, correct. On the other end (literally) if I want to find segments that end with the word with, the user would use with$, correct? Thanks


To force that the segment ends with the word “with”, you have to add the open angle bracket <with$