I have a section of a book, complete with punctuation, line breaks etc. and I want to be able to extract the first n words from the text, and divide that ...
My file content: This is for testing regex. It has to check whether 1 is entering in the list and whether 2 is also entering or all 40, 50 , 60 is also entering. My output: This is for testing regex It has to check whether 1 is entering in the list and whether 2 is also entering or all 40 ...