I am working on an automatic navigation highlight script which uses an HTML template and removes the current link: http://www.onlinetools.org/tests/easynav/ http://www.onlinetools.org/tests/easynav/easynav.txt The problem I am encountering now is that I want to delete all the sub-navigations that are not the current one. I can do it with DOM, but my regexp powers seem to drain. What the regexp should do is: - Remove every <ul> inside an <li> unless there is a <strong> somewhere inside that <li> Any pointers? -- Chris Heilmann Blog: http://www.wait-till-i.com Writing: http://icant.co.uk/ Binaries: http://www.onlinetools.org/