Need REGEX help

    Date: 04/08/05 (PHP Community)    Keywords: no keywords

    Lets say I have a string like: "the quick brown f#ox jumped ov*er the lazy dog, 10% of the time".

    I want to strip out anything that _isn't_ 'A-Z','a-z','0-9','%',',' to result in:

    "the quick brown fox jumped over the lazy dog, 10% of the time"

    How would I go about doing that? Does anyone know how to do this?

    Source: http://www.livejournal.com/community/php/282075.html

« php and the nntp protocol || PHP, mod_rewrite and... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home