সম্পাদনা
string <- "হ্যালো বিশ্ব" pattern <- "বিশ্ব$" result <- regmatches(string, gregexpr(pattern, string)) print(result)
পূর্বরূপ