Skip to content

Instantly share code, notes, and snippets.

@melvinstanly
Created February 20, 2019 11:00
Show Gist options
  • Save melvinstanly/9c729089d3a335722cde95dc7b90abb2 to your computer and use it in GitHub Desktop.
Save melvinstanly/9c729089d3a335722cde95dc7b90abb2 to your computer and use it in GitHub Desktop.
Remove Price Symbol from string
<?php
$val = preg_replace('/&.*?;/', '', $val);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment