I have this regex(example) below:
/([A-Z][a-z]+\s[A-Z][a-z]+)/gm
And the following text as a example:
"well, this is a Random text Just To Explain my Question, What can IDo? Please Help Me"
I'd expected that the return from regex was:
1 - Just To 2 - To Explain 3 - Please Help 4 - Help Me
That's result that matches with my regex, but the real return from it is:
1 - Just To 2 - Please Help
How to build a new regex that returns my expected result? I've tried to do everything but i can't do that...
Ps.: I'm using javascript...
Thanks!