How do I have to adjust a Regex search such that it just finds "bc" in the first line?
According to Regex web test pages( https://regex101.com/ , https://regexr.com/)
the regex expression "\A.*bc" should find "bc" in the first line - and ignore bc in the second line:
In Jmp with
Regex(
"abcdef
nghibcjk",
"\A.*bc"
);
I get the result
... which corresponds to Regex with additional option /s (singleline):
How can I disable the singleline option?
I just found options for
.. .and for the greedy option which can be disabled by using .*? instead of .*.