Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
R Web Scraping Quick Start Guide

You're reading from   R Web Scraping Quick Start Guide Techniques and tools to crawl and scrape data from websites

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher Packt
ISBN-13 9781789138733
Length 114 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Olgun Aydin Olgun Aydin
Author Profile Icon Olgun Aydin
Olgun Aydin
Arrow right icon
View More author details
Toc

Regular expression language (Regex)

Regular expressions are extremely useful when they are used to extract information from any text by searching for a specific sequence of ASCII or Unicode characters. The web is frequently used in search operations. One of the most impressive features of Regex is that it can be used in almost all programming languages. Basically, a regular expression is a formula that helps explain a text. RegEx's name comes from the mathematical theory underlying the idea. It is usually shortened to regex or regexp.

You can use regular expressions with a text bean that you can usually access using your programming language. If it is known how a Regex engine works, it will be easier to generate regexes. It will be easy to understand why you cannot do what you expect with a regular expression and write more complex expressions.

There are basically only two...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime