0

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 ?

user3807476
  • 47
  • 1
  • 6

0 Answers0