Is it possible to have a string for example:
var myText = "AB12CDE"
and then check to see if 3rd and 4th letters are numbers and if not change it to a number.
So if the above text ended up being:
"ABIZCDE"
I would be able to change IZ to 12 but not replacing all instances of I and Z but only in the 3rd and 4th charecther.
Here is it:
For insertion for example you could make an extension:
Add this somewhere before your class:
Then: