I am trying to figure out how to do the following. I have a string "djfk83dhfdog83748djfk83dhfcat83748djfk83dhfmonkey83748djfk83dhfhuman83748" and I want to be able to pull out the words: dog, cat, monkey and human into three separate strings. Each of these words are surrounded on either side by the characters "djfk83dhf" and "83748". How would I do this with Python 3?
question: finding multiple strings within string
question: finding multiple strings within string
|
|
Messages In This Thread |
question: finding multiple strings within string - by djf123 - May-15-2020, 08:21 PM
RE: question: finding multiple strings within string - by bowlofred - May-15-2020, 09:59 PM
RE: question: finding multiple strings within string - by djf123 - May-16-2020, 12:18 PM
RE: question: finding multiple strings within string - by anbu23 - May-16-2020, 12:30 PM
RE: question: finding multiple strings within string - by snippsat - May-16-2020, 01:00 PM
|
Users browsing this thread: 2 Guest(s)