Answer the question
In order to leave comments, you need to log in
How to select text using regular expression?
You need to get all the text that will begin with numbers, including subsequent paragraphs.
I would like to get the following result:
1 Contrary to popular belief, Lorem Ipsum is not simply random text.
It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.
Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia,
looked up one of the more obscure Latin words,
...
2 Consectetur, from a Lorem Ipsum passage, and going through the
...
N ...
[Текст]
1 Contrary to popular belief, Lorem Ipsum is not simply random text.
It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.
Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia,
looked up one of the more obscure Latin words,
consectetur, from a Lorem Ipsum passage, and going through the
cites of the word in classical literature, discovered the undoubtable source.
Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum"
(The Extremes of Good and Evil) by Cicero, written in 45 BC.
[количество абзацев может быть переменным]
April 2016 Page 18
2 Consectetur, from a Lorem Ipsum passage, and going through the
It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.
Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia,
looked up one of the more obscure Latin words,
Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia,
looked up one of the more obscure Latin words,
[количество абзацев может быть переменным]
[Текст]
Answer the question
In order to leave comments, you need to log in
https://regex101.com/r/vU0lT6/1^\d+.+(?:\n(?:[^\d\n].*)?)*
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question