Regex into sql2char