Regular Expressions (REs) are patterns that are used to match specific combinations of characters within a particular string. REs, despite being a very basic concept in the field of Natural Language Processing are widely used for a variety of applications. This tutorial is the first part of a series of articles and explains the basics of Regular Expressions, the various operators used to construct custom regular expressions and simple examples of their implementation in Python. The source for the theory described in this article is the book Speech and Language Processing 3rd Edition Draft by Daniel Jurafsky & James H…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store