Use preg_replace_callback instead of preg_replace
Merge pull request #36 from usox/preg_replace_callback_deprecation

Use preg_replace_callback instead of preg_replace