- Split():Its uses a regex pattern to split any given string into a created list.
- Sub() :It will find all the substring where this regex pattern will match and then replace the string.
- Subn() :It is similar to a sub(), it will return the new string along with the other no. of replacements.