Uploaded December 2019 | Updated November 2026, 1 day ago
Friends! I read your questions in comments and emails you send to me. For those which could be useful for others, I post a video. So ASK QUESTIONS !!!
Arshdeep's Question :
I have a python problem to extract words between specified strings from a text file.
The data is like below—-
:20: sguyy IT fun :23B j if d set hkvfg
Gkk jk kgg hu g dat in
Jddgji
Th jjjj WCP 3678654 Commonwealth guujvccbb
I want to extract text between :20: and :23B:
Also, want to extract Trent/ numbers between WCP and Commonwealth
We are going to use regular expression(regex) to find the pattern in file(s).
Feel free to ask your questions in comments section... Do not forget to like this video and subscribe to our channel.
Friends! I read your questions in comments and emails you send to me. For those which could be useful for others, I post a video. So ASK QUESTIONS !!!
Arshdeep's Question :
I have a python problem to extract words between specified strings from a text file.
The data is like below—-
:20: sguyy IT fun :23B j if d set hkvfg
Gkk jk kgg hu g dat in
Jddgji
Th jjjj WCP 3678654 Commonwealth guujvccbb
I want to extract text between :20: and :23B:
Also, want to extract Trent/ numbers between WCP and Commonwealth
We are going to use regular expression(regex) to find the pattern in file(s).
Feel free to ask your questions in comments section... Do not forget to like this video and subscribe to our channel.










