There's more…

In this recipe, you have seen a few examples of regular expressions, but there are a lot of regular expressions that can be used within the gsub() function to perform text processing. There are libraries available in R that use regular expressions to develop string processing functions such as stringr, stringi, and regex. Moreover, grep() is also able to do text processing using regular expressions.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset