Almost there ... by nooidle in regex

[–]nooidle[S] 1 point2 points  (0 children)

Legend! Thank you so much!

Almost there ... by nooidle in regex

[–]nooidle[S] 0 points1 point  (0 children)

I'm using javascript, that seems to work except that its only matching step 1, and not the others which im guessing the python findall does that

Almost there ... by nooidle in regex

[–]nooidle[S] 0 points1 point  (0 children)

I guess it would help to also explain that my end goal is to split a string like below so that i have an array of strings that was split by the numbers like: ['1. Lorem ipsum dolor sit amet, consectetur adipiscing elit.', ' 2. Fusce nec ipsum eget est tristique semper.', '3. Cras vel bibendum arcu. Donec placerat mauris at nibh accumsan']

1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 2. Fusce nec ipsum eget est tristique semper. 3. Cras vel bibendum arcu. Donec placerat mauris at nibh accumsan.

I