Corrected regex for inner characters in a string.