I have series of line in following format:
LINE: 5190 STNO: 22669 SI: VOICE
CCT LINE STNO SI BUS TYPE
003 6269 OPTI ONLY
MULTLINE 8. . . . . . . . . . . . . . .
001 SUBUNIT . . . . . DIGITE MAIN DEFIL/TRS
(ALT_ROUT: N) (OPTIIP )
LINE: 5291 STNO: 29956 SI: VOICE
What I need to find through regex (notepad++) are the numbers just after "STNO:"
There are approximately 100 of such matches.
I tired STNO:\s+\d{4,5} but it is taking STNO also into the match which i do not want. Please help.
I need to keep the matched result only and rest i want to delete or copy the matched items to a new file whichever is easier.