(Regular Expression 30 Minute Getting Started Tutorial When writing programs or web pages that manage strings, there is often a need to search for strings that meet some complex rules. Regular expressions are tools for describing these rules. In other words, regular expressions are code that records text rules. Most likely, you have used the wildcard for file search under Windows/DOS, that is
And?. If you want to search all Word documents in a directory, you will search
.doc。 here
Will be interpreted as an arbitrary string. Like wildcards, regular expressions are also tools for text matching, but they can more accurately describe your needs than wildcards - of course, the value is more complex - for example, you can write a regular expression. This material includes the following accessories:
Regular Expression 30 Minute Getting Started Tutorial.doc
Including multiple files, please download and test by yourself!)