For string:
Tm_leo_5776045435d31dc2fcb78afd31c2cdb0=1530134325;
User=687685&CouponCode=329472&whoami=109777
I want to extract whoami
field from the above texts but I only want the number digits part. Right now I am using <?(whoami=)\d{6,8}
but this will extract the string whoami=109777
and I want to get rid of the string whoami=
.
(?<=whoami=)\d+
. – Wiktor Stribiżew Jun 27 '18 at 22:54