note 99681 deleted from reference.pcre.pattern.modifiers by thiago

From: Date: Mon, 30 Aug 2010 21:15:59 +0000
Subject: note 99681 deleted from reference.pcre.pattern.modifiers by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-172182@lists.php.net to get a copy of this message
Note Submitter: smantlik at gmail dot com ---- <?php $string = 'adc123'; $pattern = '/[\d]$/'; $replacement = '*'; $result = preg_replace($pattern, $replacement, $string); echo 'adc12*'; ?>

« previous php.notes (#172182) next »