^(\d{4})年(\d\d?)月(\d\d?)日
\1-\2-\3

-(\d)(?=[^\d]|\n)
-0\1