Okay, this is probably a pretty basic problem but I can't solve it.
I have a String like this one: ' This is a text' and now I wan't to remove the spaces infront of the first character of the string. I tried using preg_replace but I can only remove all the spaces using that function. Does anyone have an idea how I can remove just the spaces infront of my Text?