I am looking for a regular expression that will match a string that contains
the word "clamp" but will not match if the string also contains the word
"arch".
So,
No Match: "Arch Clamp" "ArchClamp" "archclamp" "yada archie clamp"
Match: "Clamp" "sring clamp" "deck clamp"
Is there an easy way to do this in a single expression?
Thanks in advance.
--
Thomas T. Veldhouse
Key Fingerprint: 2DB9 813F F510 82C2 E1AE 34D0 D69D 1EDC D5EC AED1
the word "clamp" but will not match if the string also contains the word
"arch".
So,
No Match: "Arch Clamp" "ArchClamp" "archclamp" "yada archie clamp"
Match: "Clamp" "sring clamp" "deck clamp"
Is there an easy way to do this in a single expression?
Thanks in advance.
--
Thomas T. Veldhouse
Key Fingerprint: 2DB9 813F F510 82C2 E1AE 34D0 D69D 1EDC D5EC AED1
Comment