How to identify date from a string in Java
问题 Recently I am being challenged by quite an "easy" problem. Suppose that there is sentences (saved in a String), and I need to find out if there is any date in this String. The challenges is that the date can be in a lot of different formats. Some examples are shown in the list: June 12, 1956 London, 21st October 2014 13 October 1999 01/11/2003 Worth mentioning that these are contained in one string. So as an example it can be like: String s = "This event took place on 13 October 1999."; My