how to get latest match from positive lookbehind here is the string :
111X222X333
and
regex : /(?<=X).+(?=$)/mg
I want get only 333 but its math from 222X333 why ?
how to get latest match from positive lookbehind here is the string :
111X222X333
and
regex : /(?<=X).+(?=$)/mg
I want get only 333 but its math from 222X333 why ?