Ereg capitalization
| From: | Liam Gibbs | Date: | Tue, 08 Apr 2003 11:52:17 +0000 |
| Subject: | Ereg capitalization | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-142838@lists.php.net to get a copy of this message | ||
I'm not too great with Ereg, so I'm going to pass this along here.
Is there a way I can make all of my tags uppercase using ereg? Well, I know there is, but how. I
need to make it so it's something like
"<[A-Z]+["]*>
Something like that. The criteria is that all tags must be in uppercase, but everything inside the
quotation marks is to be in lowercase. Any ideas?