Source

regexgui / demo.regex

Full commit
1
2
3
4
5
{
  "regex": "(?P<year>(19|20)\\d\\d)([- /.])(?P<month>0[1-9]|1[012])([- /.])(?P<day>0[1-9]|[12][0-9]|3[01])", 
  "test": "1900-01-01 \n2007/08/13 \n1900.01.01 \n1900 01 01 \n1900-01.01 \n1900 13 01 \n1900 02 31", 
  "replace": "\\g<day>.\\g<month>.\\g<year>"
}