This is prob really simple, I’m new to regular expressions but say I wanted to find the 2 numbers preceding some characters. i.e “12 qty”
So I’m using \d\d.qty to bring back the match “12 qty” but I want to exclude the word qty?
I have tried using \d\d.qty*([^qty]*) but it doesn’t work.
You need to use a positive look ahead, depends on which language of course: