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.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.