This comment is hidden because it contains spoiler information about the solution
I forgot to make my function case insensitive but it passed the (Haskell) tests anyway. This should probably be fixed.
; at the end of code is awful
It's not entirely obvious to me what the expected result is for searchString=='a a a a'.
The way I read the given examples, I think the expected result is 1.
Some of the solutions however would return 2 in this case.
Being good at regex makes everything easier. Good solution!
I found the description a little bit opaque. It would have been easier to understand if you explicitly say that we're looking for pairs of words, rather than just "pairs".
Expected output was http://www.google.com, got output http://www.google.com, and the test fails.
Thanks for the feedback. I'll make those changes.