Hi,
I have a data set corresponding to the extract below.
I'm looking for a regular expression that would replace O with 0 across the observations that are meeting the following criteria:
I have a data set corresponding to the extract below.
Code:
clear input str9 var1 "A11OAB" "B22OBD" "CC21OAA " end
- Are 6 characters long
- Start with a letter
- End with two letters
- Counting from left, O is fourth character
Comment