[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] quick Reg exp exercise
I've downloaded a script to base a web site on but I want my version of it
to be W3C compliant and there are all sorts of errors.
The first one is that all html tags should be lowercase, at least that's
what I think the W3C error is getting at. Is there a reg exp that will
search through all my files and exchange <XX> for <xx> and </XX> for </xx>
without messing up variable names (is PHP case sensitive) (eg <XX
color=$MyColour> I know colour should be set in css files but I couldn't
think of another example)
I could do <XX> for <xx> but not doing the $XxXxx as well will be testing.
Thanks
ChrisJ
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.712 / Virus Database: 468 - Release Date: 27/06/2004
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.