VBS tutorial: introduction to regular expressions


These pages contain information intended to provide a general introduction to regular expressions.

Although we try to make the content of each topic independent, most of the information contained in these topics depends on the understanding of the features or concepts introduced earlier. Therefore, it is recommended that you read these topics carefully in order to get the most comprehensive understanding of these materials.

Introduction to regular expressions includes the following topics:

regular expression

Early origin

Using regular expressions

regular expression syntax

Establish regular expression

Priority order

Ordinary character

Special characters

Non printing character

Character matching



Selection and grouping

Backward reference