I have a string:
\"Hello 7866592 this is my 12432 string and 823 i need to flip all 123\"
Split the string on spaces. Then take the strings in the new string array that are digits and run this function on them:
public static string Reverse( string s )
{
char[] charArray = s.ToCharArray();
Array.Reverse( charArray );
return new string( charArray );
}
Then recombine your array into a single string.