There's not a problem. That regex really doesn't find anything. \b is a word break, so you're looking for a word break, then a space, then a word break, then the end of your line. Well, you don't have that. You do have a word break and then a new line at the end, but there isn't a space before it. Do you understand what I'm saying? I don't know if that was the clearest explanation, but I hope it helps!