There is a screen flow in which I have a long text area field. For that field I want to check that there are at least 5 characters entered in that field.
I was using the regex - REGEX({!Case_note},“^.{5,}$“) This works fine if I write everything on single line only.
But the issue is this doesn't work properly if someone enters two lines like below.
ashdj
ajsd
In the above text it throws error however there are more than 5 characters.
Can someone please help and give a REGEX which would consider the new line as well and just check that whole field has at least 5 characters?
Thanks.