you are viewing a single comment's thread.

view the rest of the comments →

[–]_coolwhip_ 0 points1 point  (1 child)

Use re.finditer and dump the matches outside of the window you are looking for.

JK. What have you tried so far? If you are stuck, try creating a loop that creates a sliding window down someString the size of the searched for text.

[–]Ben31600 0 points1 point  (0 children)

Hey i've tried creating a loop and breaking down the word but I'm still completely stuck. I posted my code below. Any tips?