How come we can extract the particular delay values from each row and there are 80000 rows. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How come we can extract the particular delay values from each row and there are 80000 rows.

i am having one file in which i have to extract delay values, from each rows. The row is having one common start line, so is it possible to use "REGEX" command to select particular rows and then by using "split" command, extract particular delay values from that file ?

5th Nov 2016, 7:13 AM
Dhiraj Harshe
Dhiraj Harshe - avatar
1 Answer
0
yes you can using module "re". import re searchObj = re.search(r'regex_pattern', content, re.I|re.M) if searchObj: do something else: do something else
28th Dec 2016, 4:17 PM
harihara
harihara - avatar