I want to extract the highlighted numeric characters only. And then the process to be repeated for [2]...Can someone please help me through this? Thank you.
Hmmm...maybe if I re-edit my question a byt. Here it goes:
How to extract an alpha-numeric text from a file, then extract only a few characters from that string.
For example: I have this file "x.txt" containing this string "abcdefdg:hksjdkajwi".
And I want to extract from the string of characters only the ones after ":". How do I do that?
You need to get each line
a line can contain one or more Hitem:XXXXX
find that substring
extract number
you can do something like this, but make sure to cover possibilities
hope this helps to get you an idea
Thank you so much, but now I hit another wall, how do I take the resulted number, and place it in a function. Let's say I got the first HITEM:38661, but before I tell him to go to the next HITEM I want to do a function with the current one. How do I do that?