Function syntax

Simple syntax

=IMPORTFROMWEB(data_sources, xpaths/CSS)

In Google Sheets, according to your locale settings, you may have to use commas or semicolons to separate parameters.

Comma is usually the notation used in English speaking countries.

With options

The function allows a series of options like rendering Javascript content, choosing a location, setting up the duration of the cache, etc

=IMPORTFROMWEB(data_sources, xpaths/CSS, options)Copied!

With regular expressions

For advanced users, ImportFromWeb lets you manipulate the content with regular expressions. it’s especially useful to clean up text, replace commas in numbers or remove unwanted characters

=IMPORTFROMWEB(data_sources, xpaths/CSS, regexps, replaceBy, options)