Vidyalelo
Python · Q11

Web Scraping with Python

Programming · Python · question 11

Q11

What is the purpose of using regular expressions in web scraping?

A.
To generate HTML code
B.
To scrape data from databases
C.
To extract patterns from text
Answer
D.
To render JavaScript code

Answer: Option C

Solution

Answer: Option C
Solution:
Regular expressions are used to extract specific patterns from text data.