Create a web scraper in Python that loads a website page and extracts a particular string of text.
URL: https://www.example.com/
Text to extract: "Hello, world!"
import requests
from bs4 import BeautifulSoup
 
url = "https://www.example.com/"
page = requests.get(url)
 
soup = BeautifulSoup(page.content, 'html.parser')
text = soup.find(string="Hello, world!")
print(text)