One of a set of tools we're offering as a way to say thank you for being a part of the community.
<?php $string = "a--b---c-d-e"; $newstring = preg_replace("/(-)(\1+)/", "-", $string); ?>
|how to access a remote mysql database with xampp||3||24|
|Help in good tutorials for PHP, HTML and CSS||6||41|
|How does PHP Storm display on Linux high resolution laptops?||1||38|
|Force PDF to open inline as opposed to dowload||16||23|