Re: Making string upper/lowercase with regex?
| From: | Leif K-Brooks | Date: | Tue, 29 Oct 2002 02:12:32 +0000 |
| Subject: | Re: Making string upper/lowercase with regex? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121806@lists.php.net to get a copy of this message | ||
I don't want the entire string upercase, just part of it as defined by a regex.
Chris Shiflett wrote:
Why must you use ereg_replace? Does your question mean that you, for whatever reason, cannot use strtoupper() instead? Leif K-Brooks wrote:-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.I need a way to make a string be replaced with its uppercase version using ereg_replace. Any ideas?