Regex to extract two letter words

Extracting the two letter words from Wiktionary Category:English two-letter words

Online, interactive regex tester:

Regex (will grab all 2 letter words including the explanation portion (in, of)):


Source Text:



Regex for grabbing from HTML (this will only result in the 2 letter words that are links:

Page source:

Result: content text is available under the Creative Commons Attribution-ShareAlike License