Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Word count excluding HTML tags


feralo - 9:41 pm on May 3, 2006 (gmt 0)


I would suggest beginning by 'exploding' the string with something like preg_match. That would allow you to look for something that starts with a less than symbol [ ^< ], plus [ + ] ends with a greater than symbol [ $> ].


Thread source:: http://www.webmasterworld.com/php/12723.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com