Removing Line Termination Characters from a String
This section provides you an example of with program code which reads the string or text of a text file which is mentioned by the user and replacing all the new line character by the double quote with one space (" ") wherever it found.
Removing duplicate white spaces from a String
In this section, you will learn how to remove all white spaces from the given string by using the regular expressions. This section gives you a example for the best illustration about the way of removing all the duplicate white spaces from the given strin
Escaping Special Characters in a Pattern
This section illustrates you how to escape all special characters from the given string or text. Here, you can learn the way of detecting all special characters present in the given string.