Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Findrx (greedy or back-reference?) problem
#5
That actually works, thanks!

However, I wanted this to work with more than a single character. So to slightly change the above requirement, we want something with "bc", ending in "yz" and having no "fgh" anywhere in the middle.

So, to play around with your suggestion
[^f][^g][^h]+? in the middle wouldn't work as the + applies only to h.

(?!fgh)+? in the middle also gives an error.

If you don't know, you said, do you think I should go to the above site (or somewhere else) to look for a solution?

Many thanks!


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)