-
REGEX Question
Hi,
I have this line:
4311396mS CD: CALL: 2.5.1 State=2 Cut=1 Music=1.0 Aend="Line 2" (1.5) Bend="Tech(19)" [Queue] (11.0) CalledNum=Tech () CallingNum=111111111 () Internal=0 Time=19781 AState=3
It is possible, with REGEX help, to extract data as follows:
Only 111111111 (can be word all sow) where string starts with CallingNum=
I can extract CallingNum=111111111, but I need only numbers :(
-
Re: REGEX Question
Put (brackets) around the 111111111 and use then retrieve the appropriate sub-match.
I haven't got any code at the moment, sorry.
-
Re: REGEX Question
Something like CallingNum=(.*?\s)
???