Search for a tag name through a script

Look at the last post in this thread,