PHP regex replace white space by if it is following single letter
- by WebXpert
Hi, I have user defined string (html formated string to be saved and used in web) and need to find a way to replace each white space which is right after a single letter by .
For example "this is a string" should become "this is a string",
"bla bla b l abla b la blabla" should become "bla bla b l abla b la blabla" ...etc...