Add + symbol at regular expression kotlin [duplicate]
I would like to check whether a string is equal to my expression. For example I have such string:
2022-07-18T00
0000+02:00
I did such regular expression:
Regex("\\d+-\\d+-\\d+T\\d+
\\d+[0-9]+ \\d+:\\d+")
but how I can add + between 00+02? I tried to add it directly but it didn't work at all.