regexp help

    Date: 12/29/06 (PHP Community)    Keywords: no keywords

    I need a regular expression to remove all ; and ' from a string.

    I was trying this:

    $newnote = $_POST['newnote'];
    preg_replace('/[\;\\\/\'\"]', '', $newnote);

    which won't work. Any help would be much appreciated.

    Source: http://community.livejournal.com/php/526827.html

« Comments screened?? || .shtml and .php »


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