I'm using .NET to experiment with regex's.
I'm struggling to compose a regex to capture a segment in a string that ends with two spaces. For example
This is a test Start of next bit
How can I capture the first portion of the above string This is a test, knowing that the two segments are split by two spaces (\s in the regex world)?
I've tried stuff like:
This is a test[^\s{2}]
but that's getting me nowhere.