Could you please help with preg_replace regex for trimming letter/words if appears after 2 or more white spaces? i.e.:
lorem ipsum x
to become
lorem ipsum
also would be great to left trim if word/letter followed by 2 white spaces i.e.
x lorem ipsum
The following should match 2 or more whitespaces, followed by any number of consecutive “word” characters