I have the following text:
<body whatever turno somegarbage 1234-1234 somemoregarbage 2345-2345
stillmoregarbage <div somemore stuff 5555-5555 whatever <div
and the following regex:
Why does the expression find three (non-us) phone numbers instead of two? Shouldn't the "+?" (just before the "<div" at the end of the expression) cause it to stop finding telephone numbers when it encounters the first "<div"?
View Complete Post