remove inbox from a to z

how to remove this in sms inbox from a-z

when you receive a message from the telco that instead of a phone number it appears like this with matching lowercase and uppercase
:if ([/tool sms inbox find where phone~“AAbb” or phone~“cBBB” or phone~“AABB” or phone~“ABAB” or phone~“ACAC”]) do={
:log warning message=(“removing sms error ref101”)
/tool sms inbox remove $i;
/tool sms inbox remove $i;
}

Congratulations: Well-detailed use cases…

Why remove the same two times?
You at least have read what you post?
Or copy-paste from other source?

Why not simply this??? (remove when at least one non numeric (except +) character is present)

/tool sms inbox remove [find where !(phone~"^[+0-9]+\$")]

not working sir

I do not have any sms with text inside name for test, retry again with the string on previous post