Remove character from string if it starts with that character? December 9, 2023 by Tarik Why not just include the regex in the sub! method? string.sub!(/^1/, '')