[R] searchina a pattern in a string

arunkumar1111 akpbond007 at gmail.com
Tue Apr 24 16:52:44 CEST 2012

I have a long string. i want to sepearate a 10 digit phone no from it.


"my no is 9876543210 is personal no and my official no is 123-456-8907. you
can use any of these"

i want to seperate the 9876543210 and 123-456-8907 from this. therev may be
many phone nos in the string. how to do it 

Thanks in Advance
View this message in context: http://r.789695.n4.nabble.com/searchina-a-pattern-in-a-string-tp4583740p4583740.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list