txReplaceEx(text, \"(\d{4})/(\d{2})/(\d{2})", \"\1-\2-\3", SEARCH_REWZ)

かな?