Web Scrapers Generator BrowserExt

regexp

Searches all substrings of the string which match the regular expression.

var = regexp(pattern, subject);
    

Parameters:

pattern Regular expression pattern.
subject Search string.

Returned value: var is an array, var[0] is an array of full pattern matches, var[1] is an array of strings matched by the first parenthesized subpattern, and so on.

Example 1. vk.com authorization. Manual processing of cookie. First, we load the page via the post and take cookie remixsid from the headers, and then load the profile page with this cookie. This example demonstrates the ability to just get the value of the desired cookie. To really parse vk.com data after our web-scraper authorization is not possible, because AJAX is used everywhere.