----- Original Message ----- 
From: "Patrick Bierans" <[EMAIL PROTECTED]>

>> $content = preg_replace($pattern, $replace, $content);
>> How can I put strtolower(); in to make just the tags into lowercase.
> 
> $content = strtolower($content);
> $content = preg_replace($pattern, $replace, $content);
> 
> You have been tired, nay? ;)

Thanks for your reply Patrick, but that puts all the $content to lowercase.
I just want to put the $pattern replacement (i.e. the html tags and attributes) 
to lowercase, in these 500 and odd darned pages.




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h389sha/M=362329.6886308.7839368.1510227/D=groups/S=1705005703:TM/Y=YAHOO/EXP=1122738697/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to