Re: Regular Expressions

From: Date: Thu, 16 Oct 2003 12:46:22 +0000
Subject: Re: Regular Expressions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-166290@lists.php.net to get a copy of this message
On Thursday, October 16, 2003, at 10:35 PM, Shmuel wrote:
I have a misspelled sentence like this: "I am not aIone". I want to change the capital I to small l, but only in the beginning of a word. How is this done in regular expression ?
You want to change an uppercase i/I into a lowercase l/L?? Define "begining of a word -- do you mean the first character, or the first few chars, or the first half of the word. Perhaps rather than a generic example, how about a specific example of what you need to change? Justin

« previous php.general (#166290) next »