I have texts in multiple lines, for example:
2023.11.12_16.37_AAA_BBBB
2023.11.12_16.37_AAA_BBBB
I am using the regex pattern "\d{4}.\d{2}.\d{2}\d.*?\w.*$" to check the format.
However, it only works for one line. Can anyone help me modify it to work with multiple lines?
It slightly depends on the implementation you use, but generally in Java adding the "/s" modifier is the answer.
Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!
Start here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.