I have a very simple string I am trying to match but can't seem to get it working. I want to match some numbers after a string and also emit the trailing %.
encodeTime=10%
I have tried look ahead but it doesn't seem to work. It just matches the entire string.
(?=encodeTime=)[^\s]+
Is there a way I can just match the numbers only and also emit the % after?
emit, do you meanomit?encodeTime=(\d*)?