02-23-2012, 11:33 AM
Hello,
Been reading here and qm help but seems I just can't get some aspects of regular expression syntax.To simplify what I want to do, suppose:
str Sample="abcdefghiklbwxyz"
There are two "b" above. I want to find a match that starts with "b", ends with "yz" but has no "f" in the middle (so the commands below give "11" not "1").
int Look=findrx(Sample "(?=b).+(?!f)(?=yz)")
out Look
Many thanks in advance!
Been reading here and qm help but seems I just can't get some aspects of regular expression syntax.To simplify what I want to do, suppose:
str Sample="abcdefghiklbwxyz"
There are two "b" above. I want to find a match that starts with "b", ends with "yz" but has no "f" in the middle (so the commands below give "11" not "1").
int Look=findrx(Sample "(?=b).+(?!f)(?=yz)")
out Look
Many thanks in advance!