Hello !
I'm trying to get all the match strings in a text using regular expression.
for example the text is :
1. Title 1
paragraph 1
2. Title 2
paragraph
I need to get all the titles (1. Title 1 , 2. Title 2)
I have wrote this regular expression : (\d\. )(.)*
and using this expression I'm getting the first title only. does anyone know how to get all the matches ?
User | Count |
---|---|
59 | |
26 | |
24 | |
22 | |
21 |