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:
![hogi_1-1697456819242.png hogi_1-1697456819242.png](https://community.jmp.com/t5/image/serverpage/image-id/57667iB1FC5B38390EA7CA/image-size/medium?v=v2&px=400)
In Jmp with
Regex(
"abcdef
nghibcjk",
"\A.*bc"
);
I get the result
![hogi_2-1697456878288.png hogi_2-1697456878288.png](https://community.jmp.com/t5/image/serverpage/image-id/57668i737E65C9138B1798/image-size/medium?v=v2&px=400)
... which corresponds to Regex with additional option /s (singleline):
![hogi_3-1697457005608.png hogi_3-1697457005608.png](https://community.jmp.com/t5/image/serverpage/image-id/57669iAF4ACC78C47EBAD7/image-size/medium?v=v2&px=400)
How can I disable the singleline option?
I just found options for
![hogi_4-1697457079992.png hogi_4-1697457079992.png](https://community.jmp.com/t5/image/serverpage/image-id/57670iF76D2C3EE5FE5B64/image-size/medium?v=v2&px=400)
.. .and for the greedy option which can be disabled by using .*? instead of .*.