Using Autohotkey, I need to exclude a part of a string, while still writing the first and last part of it. I'll explain. Given the String:
GSM NWS\TOP N Pool 1\1. TOP N Pool 1 Rank :
GSM NWS\TOP N Pool 1\1. TOP N Pool 1 BCCH :
GSM NWS\TOP N Pool 1\1. TOP N Pool 1 BSIC :
I Need to extract only the parts from "1.
" until ":
", excluding the "TOP N Pool 1
" part. Thus, the wanted string should be:
- Rank
- BCCH
- BSIC
I've been around this question for quite a while now, and I've used RegExMatch:
RegExMatch(A_LoopField, "\d+\.(.*?)\[\d\]", fields%lineCount%)
This RegEx is not excluding that middle string I want to leave out.
Any ideas?
P.S: I'm relatively new to this language, and to the Regular Expression usage as well...please forgive if i'm making any basic mistake here.
Thank you all.