I have this input
xxxx,123456,sometext123456,123456,anothertext,123,a
and it is repeated again in first of each line (that is sample of a big log file).
Now I want to extract just first number (123456
after the xxxx
) of each line. I tried this regex
(?<=,)[^,]+(?=,)
but it's not working for my needs.