Extract 15 words before and 8 words after each 9digit number from a text file using regular expressions in python

38 Views Asked by At

Extract 15 words before and 8 words after each 9digit number from a text file using regular expressions in python. It should list all string including overlap text.

I tried with some regular expressions but it doesn’t work for overlap text

0

There are 0 best solutions below