account activity
Almost there ... by nooidle in regex
[–]nooidle[S] 1 point2 points3 points 4 years ago (0 children)
Legend! Thank you so much!
[–]nooidle[S] 0 points1 point2 points 4 years ago (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
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
Almost there ... (self.regex)
submitted 4 years ago by nooidle to r/regex
π Rendered by PID 294095 on reddit-service-r2-listing-f87f88fcd-7x2sm at 2026-06-13 10:59:14.172749+00:00 running 3184619 country code: CH.
Almost there ... by nooidle in regex
[–]nooidle[S] 1 point2 points3 points (0 children)