How can I remove single strings a-z in output?

I dont understand ur question
please elaborate…
from where do u want to remove a-z

Input:12
Required output:
.a
.b
.c
+a
+b
+c
@a
@b
@c
$a
$b
$c
My output:
a
b
c
.a
.b
.c
+a
+b
+c
@a
@b
@c
$a
$b
$c
So how can I remove the a,b,c

update line 13

if(digit==0)
{
	substr(ins,out,i+1,j);
}
and dont use if(digit ==0 || digit == 1)