well, I once wanted to use regex in SQLServer. Had phone numbers, some with trailing 0
(1 or 2) and some not. Had to make them a bit more uniform. A replace of ^0+
would have been ideal, but had to use two CASE WHEN
(one for double 0 and one for single 0) and two SUBSTR
...