I have a table called myTable which has a column called col1. This column contains data in this format: (1 or 2 digits)(hyphen)(8 digits).
myTable
col1
I wa
Looking to your pattern seem you could avoid regexp
update myTable set col1 = concat('4-', right(col1,8))
or
update myTable set col1 = concat('4', right(col1,9))