Repeating terms of a given sentence Program
Write a program to display repeating terms of a given sentence.
Explanation
The program must output the repeating terms of two or more letters from the given input (input is a sentence separated by spaces without any punctuation except the full-stop indicating the end.)  Repeated terms may not span across or include a space. For example, if input is the sentence &quot;I am an ameture mathemagician&quot; the output must be am, ma, an. (note that &quot;em&quot; is not a valid output as it is separated by space).
Repeated terms may overlap with each other. For example if the input is &quot;ababa&quot;, the output should include &quot;aba&quot;, even though the two instances of it overlap.
ababa
aba
  aba

Example
Input:

International competitions are better than intercollege ones.

Output:

Inter, ti, er, tion, io, on, ion, tio, co, on, .......etc
(t, l must not be included as they are 1 letter.) (Upper lower Cases do not matter)

Test cases
aabcde cdec -&gt; cde, cd, de

aab aacab -&gt; aa, ab

aaa aabcaaa ababa -&gt; aaa, aa, ab, aba, ba

abababa-&gt; ab, aba, abab, ababa, ba, bab, baba

Winning Criterion
code-golf
JavaScript (ES10), 99 bytes

s=&gt;new Set([...s].map((q,i,a,j=i)=&gt;a.map(_=&gt;s.lastIndexOf(q+=s[++i])&gt;j&amp;!/ /.test(q)?q:[])).flat(2))

Try it online!