Here is my code in php
<?php
$output = "Clean this copy of invalid non ASCII ¥ äócharacters.";
$output = preg_replace('/[^(\x20-\x7F\p{Sc})]/','',$output);
echo($output);
?>
Here I want to keep any currency symbols as it is and need to remove junk characters .
What changes should I make in regex for this issue ?
Thanks in advance