add regex to ignore links for scripts and other uses.

coded regex to detect empty and script links, then ignore them