eregi replace replacement
        Posted  
        
            by apis17
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by apis17
        
        
        
        Published on 2010-06-09T09:03:21Z
        Indexed on 
            2010/06/09
            9:12 UTC
        
        
        Read the original article
        Hit count: 271
        
hi, since eregi replace was deprecated on version 5.3 i want to make my program compatible with new version of php http://php.net/manual/en/function.eregi-replace.php
so, i'm trying to use preg_replace like this
preg_replace(",",'','20,000.00');
but come with error
i'm familiar with eregi_replace(',','','20,000.00'); i'm not familiar with regex expression. what is the best replacement for eregi_replace?
© Stack Overflow or respective owner