So I have a very dynamic string that will consist of letters and numbers and underscores [A-Za-z0-9_]
If the first character of the string is numeric I am trying to remove and / or replace that first numeric character only with a non numeric character [a-zA-Z_]
Example :
local string = "5fLkQZ73ziBzHMTgaoSBfDb9qa1q3qdqBGwJ4Mw1gkY782VhVr8Itmheq03mPy_OIHty"
string:gsub("^([0-9]{1})", "_")
Output would like to be one of the following
_fLkQZ73ziBzHMTgaoSBfDb9qa1q3qdqBGwJ4Mw1gkY782VhVr8Itmheq03mPy_OIHty --underscore
AfLkQZ73ziBzHMTgaoSBfDb9qa1q3qdqBGwJ4Mw1gkY782VhVr8Itmheq03mPy_OIHty --Uppercase
afLkQZ73ziBzHMTgaoSBfDb9qa1q3qdqBGwJ4Mw1gkY782VhVr8Itmheq03mPy_OIHty --Lowercase
fLkQZ73ziBzHMTgaoSBfDb9qa1q3qdqBGwJ4Mw1gkY782VhVr8Itmheq03mPy_OIHty --removed