Regular Expressions

Regular expressions represent an advanced technique for checking syntax of strings or for parsing values out of strings. They are very powerful but significantly slower and more difficult to use than the StrSearch and StrSearchDelimited functions.

For parsing responses of Web pages, WebParseResponseData is the fastest implementation, since it operates on the incoming data stream instead of storing the entire Web page. When using regular expressions, it is necessary to store the entire page or a part of the page in a string variable. This can be done with WebParseResponseData or WebTcpipRecvClose.

Silk Performer provides the following functions to handle regular expressions: