130 likes | 463 Views
This Edureka "Python RegEx" tutorial (Python Tutorial Blog: https://goo.gl/wd28Zr) will help you in understanding how to use regular expressions in Python. You will get to learn different regular expression operations and syntax. You will be learning how to implement all the regex operations in python practically. Below are the topics covered in this tutorial: <br><br>1. Why we use Regular Expressions? <br>2. What are Regular Expressions? <br>3. Basic Regular Expressions operations <br>4. E-mail verification using Regular Expressions <br>5. Phone number verification using Regular Expressions <br>6. Web scraping using Regular Expressions
E N D
EDUREKA PYTHON CERTIFICATION TRAINING Python Regex www.edureka.co/python
Why We Use Regular Expressions How to verify these e-mail addresses How to find a string in this large amount of data sk@gmail.com Keep the blue flag flying high Chelsea! Shgds usg sbgss sbgsusuggsugsusg undk sgsg sg sg svhhss sh hsjksk as a s njsjsngybxubusn yjsj u jbsbhhsnunbus hssdn shsjajowj jsjsopanshe sgtah nkslew a wangsjonsgst ag a sb s ghjdko w jjsjsuiej…. dk@gmail.com sd@gmail.com www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING
Why We Use Regular Expressions Student Data Name: Neel Address: F-27, Starc tower, New York ............. How to find and update the student address www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING
What are Regular Expressions www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING
What are Regular Expressions A Regular Expression is a special text string for describing a search pattern. NameAge = ''' Janice is 22 and Theon is 33 Gabriel is 44 and Joey is 21 ''' Can you identify the pattern to get the Name and Age {'Janice': '22', 'Theon': '33', 'Gabriel': '44', 'Joey': '21'} www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING
What are Regular Expressions A Regular Expression is a special text string for describing a search pattern. NameAge = ''' Janice is 22 and Theon is 33 Gabriel is 44 and Joey is 21 ''' Can you identify the pattern to get the Name and Age {'Janice': '22', 'Theon': '33', 'Gabriel': '44', 'Joey': '21'} NameAge = ''' Janice is 22 and Theon is 33 Gabriel is 44 and Joey is 21 ''' First letter of all the Names is an uppercase letter and Age is represented by numbers www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING
Operations that you can perform with Regular Expressions www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING
Regular Expression Operations Find a word in a string Generate an iterator Match one of any of several letters Match series of range of characters Replace String Match a Single character www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING
Regular Expressions Applications www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING
E-mail and Phone Number Verification E-mail: Phone Number 444-122-1234 123-122-78999 111-123-23 67-7890-2019 Saurabh@gmail.com Reyshma @ com Kv .com 123_@.com www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING
Web Scraping Websites with HTML pages Web Scraping technology www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING
Agenda Basic Regex Operations What are Regex Why we need Regex Web Scraping E-mail Verification Phone number Verification www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING
www.edureka.co/python EDUREKA PYTHON CERTIFICATION TRAINING