Changing the string is easy to do, but the C program needs to locate the text_buffer. How to locate this text?
This is an example of a program to do what you want, IF it can get the text_buffer for input.
Code:
#include <stdio.h>
#include <ctype.h>
#define MAX 80
int main(void) {
int i,r,c,n;
char text[10][MAX]={
{"Some Text Here 0234567 ABE SMITH - Microsoft Inter"},
{"Some ODD Text Here 1034568 BOB SMITH - Microsoft Inter"},
{"Some wierd Text Here 2173456 CATHY SMITH - Microsoft Inter"},
{"Some crazy Text Here 3268015 DAVE SMITH - Microsoft Inter"},
{"Some Serious Text Here 4303107 ED SMITH - Microsoft Inter"},
{"Some Funny Text Here 5483615 FRED SMITH - Microsoft Inter"},
{"Some confused Text Here 6507084 GEORGE SMITH - Microsoft Inter"},
{"Some misspelled Text Here 7603065 HELEN SMITH - Microsoft Inter"},
{"Some different Text Here 8836005 IRENE SMITH - Microsoft Inter"},
{"Some of the same Text Here 9803921 JOHN SMITH - Microsoft Inter"}
};
for(r=0;r<10;r++) {
c=0;
while(!isdigit(text[r][c])) ++c;
c+=9;
while(isalpha(text[r][c])) {
text[r][c]=tolower(text[r][c]);
++c;
}
c+=2;
while(isalpha(text[r][c])) {
text[r][c]=tolower(text[r][c]);
++c;
}
}
for(r=0;r<10;r++)
printf("%s\n",text[r]);
return 0;
}