how to check if a space is followed by a certain character?
<p>I am really confused on this regex things. I have tried to understand it, went no where.</p>

<p>Basically, i am trying to replace all spaces followed by every character but a space to be replaced with "PM".</p>

<p>" sd"
"  sd"</p>

<p>however</p>

<p>"  sd"
"  sd"</p>
