I am getting data I need to parse and store in a database and within this data are a bunch of non-standard English keyboard characters. What I'd like to do is strip out anything that does not appear on a standard English keyboard, but also keep the copyright symbol, registered symbol, and trademark symbols. Everything else should be stripped away.
An example of what I'm getting is:
In this case, I'd like to run that through preg_replace and returnCode:Text®
Can anyone help with this?Code:Text®



Reply With Quote


Bookmarks