Is the a way to remove duplicate references in google Docs


#1

Dear all,
I have duplicated references in a google doc. Is there an easy way to merge these?


#2

Also is there a way to merge references that are next to each other?