Hi @dr1992
If you see this is the correct regex ^.*?(?=\s\d+.\d+)
You gave a extra Bracket at the end
cheers
Hi @dr1992
If you see this is the correct regex ^.*?(?=\s\d+.\d+)
You gave a extra Bracket at the end
cheers
Your origional regex was: ^.*?(?=(\s\d+.\d+))
But even when I removed this, the result in my message box is:
Hi @dr1992
this is how you access it…I hope this solves
it is a collection of match…So we have to access them individually
cheers
Hi @dr1992
Please add one more property that I missed(RegexOptions.Multiline)
System.Text.Regularexpressions.Regex.Matches(str,"^.*?(?=\s\d+\.\d+)",RegexOptions.Multiline)
Because of this you are not getting any matches
cheers