সম্পাদনা
string <- "a1b2c3" pattern <- "[2-5]" result <- regmatches(string, gregexpr(pattern, string)) print(result)
পূর্বরূপ