I have a text which contains the word "Article" many times for example:
My text title Article 1 bla bla Article 2 bla bla …
I want to split the text like this:
Text1=Article 1 bla bla
Text2=Article 2 bla bla
...
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Instead of trying to find a split pattern, you should look for a matching pattern:
It matches
Article, followed by anything up to but not including anotherArticleor end of line.Output:
Edit
To just filter out the
Articlefollowed by a number: