SyntaxFix
Write A Post
Hire A Developer
Questions
This should do:
gsub("[A-Z][1-9]:", "", string)
gives
[1] "E001" "E002" "E003"