I’d like to add a space after any point found with an alphabetic or numeric character just after it (no space found), assuming the next character after the point is not an end of line (cr, lf, …) character.
preg_replace "/.[a-z0-9]{1}/" with "/. [a-z0-9]/i"
How may I do this in PHP ?
You can use a positive lookahead:
DEMO