The Power of Regular Expressions for Clever Sloths
First of all, regular what? Regular expressions are based on a formal language that is used to specify patterns for matching strings or sub-strings in text.
In order to find simple information in a text file, many people still use search functions available in any up-to-date editor. But what if your search scenario is not so simple? What if you are looking not for one specific digit, for example, but for all digits in your text file? Or what if you want to find and remove all tags from your document? Good news! You not have to be a programmer to do all that stuff. You simply need a wee bit of knowledge about regular expressions and a clear picture of what you are looking for in your text file. Today’s blog will give you an idea about regular expressions and after reading it you will be ready to write your first regular expression, promise!