Could anyone explain me why this regex match returns as False?
The test on RegExt of the expression did pass:
Seems to be a problem with the VbNewline, when i remove it, the match returns True, but i need to validate this newline…
Could anyone explain me why this regex match returns as False?
The test on RegExt of the expression did pass:
Seems to be a problem with the VbNewline, when i remove it, the match returns True, but i need to validate this newline…
I dit also try this, same result, unfortunaly
Hello
Can you enable Multiline.
“Regex.IsMatch(Str, Regx, RegexOptions.Multiline)”
Worth a try.
Hopefully that helps
Cheers
Steve
Not yet =(
Tough one hey
Try the following in this order.
Try removing the “$” sign.
Try adding a “+” to [\n\r].
Try removing the ^
Keep Multiline on.
If those don’t work, run in debug mode then use the immediate panel to keep testing/trying. Or maybe reduce the Str to one line and build up the complexity slowly to find the problem.
The “+” after the “[\n\r]” did the trick! Thank you my friend, have a nice one!
Glad I could help
Good luck with the rest of your project.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.