Displaying 1 result from an estimated 1 matches for "nhq29".
2009 Feb 24
2
using perl regular expression
Hello everybody!
I'm using Perl regular Expression for find pattern in my data set.
The pattern is: NaQxy, where a=E, F, G or H and xy != 29. I have tried this:
pattern <- "^N[E-H]Q[0-9]{2,2}"
index <- grep(pattern, X, perl=T) #where X is my vector
But the problem is the xy should not be 29. How can I solve this problem.
Thanks!!!
Regards,
Katrine
[[alternative