Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regex question
#1
Hello,

Is there a regex possible that only 'grabs' the last result?

so if i want to find peolpe in this sentince:

people like to see other people.

It grabs only the last one...

Thanks for the help in advance!
#2
people not followed by other people

Macro Macro1703
Code:
Copy      Help
str s="people like to see other people"
int i=findrx(s "\bpeople\b(?!.*\bpeople\b)")
out i


Forum Jump:


Users browsing this thread: 1 Guest(s)