Skip to content

Instantly share code, notes, and snippets.

@victorpavlov
Created April 7, 2013 19:13
Show Gist options
  • Save victorpavlov/5332040 to your computer and use it in GitHub Desktop.
Save victorpavlov/5332040 to your computer and use it in GitHub Desktop.
PHP: remove "()" from string
<? $tracking = preg_replace("#(.*?)\(.*?\)(.*?)#is", "\\1\\3", $tracking); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment