[R] Regex question to find a string that contains 5-9 alpha-numeric characters, at least one of which is a number

Tan, Richard RTan at panagora.com
Mon Jun 8 23:40:03 CEST 2009


Hi, 

This is not exactly an R question but I am trying to use gsub to replace
a string that contains 5-9 alpha-numeric characters, at least one of
which is a number.  Is there a good way to write it in a one line regex?

Thanks,
Richard




More information about the R-help mailing list