in reply to Re: Re: help with a regexp
in thread help with a regexp

Both your solution and husoft's fail on a single character string. As "x" consists of a single character and that character is both the first and the last it should be capitalized.

-sauoq
"My two cents aren't worth a dime.";