Hi, I'm trying to figure out the fatest way to read a text file and reading specific patterns from it, i know that i can read the contents of a file all at once if i don't use read line from the "read from text file" control but how can i process the multi line result?
lets say i have a file that have this content:
line1a_43
line2b_12
line3a_32
line4a_53
line5b_32
line6a_23
i know that if you use read from text file, you'll be given a string result of
"line1a_43\nline2b_12\nline3a_32\nline4a_53\nline5b_32\nline6a_23"
now what should i do to be able to extract the numbers from each line that has "line\d+b" (line with any digit then a letter b)
using a pattern matching technique, i'm expecting to have a result either an array or a string with delimeters similar to this:
12
32
Thanks,
Peter A.
P.S. i know how to do this using read by line technique but if i'm reading a huge file, reading line by line will take longer.