Regular expressions are a form-matching form that you can apply to text content. Take for example DOS wildcards? and * that you can use when looking for a file, This is a kind of very limited subset of RegExp. For example, if you want to find all files starting with "fn", and then from 1 to 4 random characters and ending with "ht.txt", you cannot do this with the usual DOS wildcards. RegExp, on the other hand, can handle these and more complex patterns.
Regular expressions are, in short, a way to effectively
- process data
- search and replace strings
- provides advanced line processing.
, , , , .