I'm having trouble coming up with the correct regex string to remove a sequence of multiple ? characters. I want to replace more than one sequential ? with a single ?, but which characters to escape...is escaping me.
Example input:
Is this thing on??? or what???
Desired output:
Is this thing on? or what?
I'm using preg_replace() in PHP.