As you may have guessed, regexes enable us to isolate a certain type of text and perform specific processing on the samples taken. The simplest case is to replace one word by another in a document. We can also reduce our tolerance by allowing certain deviations.