I would like to extract all 2-letter strings from a text with a regular expression, for example :
just a test
would get me ju, us, st, te, es, st
I tried using : re.findall(r'\w{2}',text)
but it only divides the words into 2-letter strings and gives me ju, st, te, st
Thank you very much in advance for your help.