/^(.*).*\1$/ [download]
If it is complete, you get the whole one.
In reply to Re^3: Finding repeat sequences. (only mostly regex) by choroba in thread Finding repeat sequences. by BrowserUk