Please refer the below link:
 
https://stackoverflow.com/questions/26839112/is-there-a-way-to-check-the-validity-of-internal-hyperlinks-cross-references-add 
 
Hoe this helps
 
Thanks