search for: 4752473

Displaying 1 result from an estimated 1 matches for "4752473".

Did you mean: 372473
2010 Aug 09
3
Regular Expression
...en The following produces the desired result, but would like to know whether this can be done more efficiently. Any suggestions would be much appreciated. dat <- c("2148 SPE MAR - CCC", "9843 SPE ANN - BBB", "56748 LIF - AA", "3489 SPE GEN - CC", "4752473 MAR - AA", "980843 SPE PEN - CC") > dat [1] "2148 SPE MAR - CCC" "9843 SPE ANN - BBB" "56748 LIF - AA" "3489 SPE GEN - CC" "4752473 MAR - AA" "980843 SPE PEN - CC" dd <- sub(pattern = "^[0-9]+[[:blank...