#include<stdio.h>
#include<string.h>
int main()
{

 char s[50]="G12o45o657D896J2508657B";
 char m[100];
 int i,j=0;

 for(i=0;s[i]!='\0';i++)
 {
     if(s[i]<'0' || s[i]>'9')
     {
         m[j]=s[i];
         j++;
     }
 }
 m[j]='\0';

 printf("%s",m);


}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: