Write a program that searches a text for dates in two different formats: yyyy.mm.dd and yy.mm.dd. The search results should be printed one per line.
Don't forget about \b. The format yyy.mm.dd isn't correct!
Write a program that searches a text for dates in two different formats: yyyy.mm.dd and yy.mm.dd. The search results should be printed one per line.
Don't forget about \b. The format yyy.mm.dd isn't correct!
Sample Input 1:
Date 1: 2022.06.06 Date 2: 2021/01/01; date 3: 20.02.22Sample Output 1:
2022.06.06
20.02.22Create a free account to access the full topic