title
Python RegEx | Python Regular Expressions Tutorial | Python Tutorial | Python Training | Edureka

description
🔥Python Certification Training: https://www.edureka.co/data-science-python-certification-course 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 syntaxes. You will be learning how to implement all the regex operations in python practically. Check out our playlist for more videos: https://goo.gl/Na1p9G Below are the topics covered in this tutorial: 1. Why we use Regular Expressions? 2. What are Regular Expressions? 3. Basic Regular Expressions operations 4. E-mail verification using Regular Expressions 5. Phone number verification using Regular Expressions 6. Web scraping using Regular Expressions Subscribe to our channel to get video updates. Hit the subscribe button above. #Python #PythonRegex #Pythontutorial #Pythononlinetraining #Pythonforbeginners Reference: https://YouTube.com/Sentdex Introducing Edureka Elevate, a one of its kind software development program where you only pay the program fees once you get a top tech job. If you are a 4th year engineering student or a fresh graduate, this program is open to you! Learn more: http://bit.ly/39Nhxnm PG in Artificial Intelligence and Machine Learning with NIT Warangal : https://www.edureka.co/post-graduate/machine-learning-and-ai --------------------------------------------- How it Works? 1. This is a 5 Week Instructor led Online Course,40 hours of assignment and 20 hours of project work 2. We have a 24x7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course. 3. At the end of the training you will be working on a real time project for which we will provide you a Grade and a Verifiable Certificate! - - - - - - - - - - - - - - - - - About the Course Edureka's Python Online Certification Training will make you an expert in Python programming. It will also help you learn Python the Big data way with integration of Machine learning, Pig, Hive and Web Scraping through beautiful soup. During our Python Certification training, our instructors will help you: 1. Master the Basic and Advanced Concepts of Python 2. Understand Python Scripts on UNIX/Windows, Python Editors and IDEs 3. Master the Concepts of Sequences and File operations 4. Learn how to use and create functions, sorting different elements, Lambda function, error handling techniques and Regular expressions ans using modules in Python 5. Gain expertise in machine learning using Python and build a Real Life Machine Learning application 6. Understand the supervised and unsupervised learning and concepts of Scikit-Learn 7. Master the concepts of MapReduce in Hadoop 8. Learn to write Complex MapReduce programs 9. Understand what is PIG and HIVE, Streaming feature in Hadoop, MapReduce job running with Python 10. Implementing a PIG UDF in Python, Writing a HIVE UDF in Python, Pydoop and/Or MRjob Basics 11. Master the concepts of Web scraping in Python 12. Work on a Real Life Project on Big Data Analytics using Python and gain Hands on Project Experience - - - - - - - - - - - - - - - - - - - Why learn Python? Programmers love Python because of how fast and easy it is to use. Python cuts development time in half with its simple to read syntax and easy compilation feature. Debugging your programs is a breeze in Python with its built in debugger. Using Python makes Programmers more productive and their programs ultimately better. Python continues to be a favorite option for data scientists who use it for building and using Machine learning applications and other scientific computations. Python runs on Windows, Linux/Unix, Mac OS and has been ported to Java and .NET virtual machines. Python is free to use, even for the commercial products, because of its OSI-approved open source license. Python has evolved as the most preferred Language for Data Analytics and the increasing search trends on python also indicates that Python is the next "Big Thing" and a must for Professionals in the Data Analytics domain. ----------------------------------------------------------- For more information, Please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll free). Instagram: https://www.instagram.com/edureka_learning/ Facebook: https://www.facebook.com/edurekaIN/ Twitter: https://twitter.com/edurekain LinkedIn: https://www.linkedin.com/company/edureka

detail
{'title': 'Python RegEx | Python Regular Expressions Tutorial | Python Tutorial | Python Training | Edureka', 'heatmap': [{'end': 687.304, 'start': 595.811, 'weight': 0.756}, {'end': 1370.655, 'start': 1308.073, 'weight': 0.79}, {'end': 1831.899, 'start': 1801.977, 'weight': 0.76}, {'end': 2195.968, 'start': 2156.343, 'weight': 0.876}, {'end': 2460.939, 'start': 2405.388, 'weight': 0.832}], 'summary': 'Tutorial covers various aspects of regular expressions in python, including data verification, manipulation, word searching, word matching, string manipulation, and applications for web scraping. it demonstrates practical examples and use cases for audience engagement.', 'chapters': [{'end': 233.686, 'segs': [{'end': 46.855, 'src': 'embed', 'start': 19.881, 'weight': 0, 'content': [{'end': 23.903, 'text': "And then we'll focus on various operations that you can perform with regular expressions.", 'start': 19.881, 'duration': 4.022}, {'end': 27.425, 'text': "After that, I'll tell you various applications of regular expressions.", 'start': 24.524, 'duration': 2.901}, {'end': 31.948, 'text': "We'll start with email verification, then phone number verification and then, finally,", 'start': 27.766, 'duration': 4.182}, {'end': 35.391, 'text': "I'll teach you how to perform web scraping using regular expressions.", 'start': 31.948, 'duration': 3.443}, {'end': 38.072, 'text': 'So I hope the agenda is clear to everyone.', 'start': 36.091, 'duration': 1.981}, {'end': 40.394, 'text': 'If you have any doubts, you can write it down in your chat box.', 'start': 38.132, 'duration': 2.262}, {'end': 43.912, 'text': 'Or else you can give me a quick confirmation so that I can move forward.', 'start': 41.209, 'duration': 2.703}, {'end': 46.855, 'text': 'All right, so Dave says yes.', 'start': 45.294, 'duration': 1.561}], 'summary': 'Learn operations and applications of regular expressions for email and phone number verification, as well as web scraping.', 'duration': 26.974, 'max_score': 19.881, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE19881.jpg'}, {'end': 202.826, 'src': 'embed', 'start': 173.932, 'weight': 1, 'content': [{'end': 177.514, 'text': 'So every correct phone number will have a particular pattern or a format.', 'start': 173.932, 'duration': 3.582}, {'end': 185.797, 'text': 'So, using regular expressions, he can identify what all phone numbers are correct and what all phone numbers are wrong, and, at the same time,', 'start': 178.294, 'duration': 7.503}, {'end': 190.94, 'text': 'different phone numbers that belongs to different countries or different location will have a different format.', 'start': 185.797, 'duration': 5.143}, {'end': 198.223, 'text': 'So again taking that thing into consideration he can again use regular expressions and identify to which area it belongs to.', 'start': 191.48, 'duration': 6.743}, {'end': 202.826, 'text': "Now in this particular example, what I've shown you is, I've shown you two geographical areas.", 'start': 198.763, 'duration': 4.063}], 'summary': 'Regular expressions used to identify correct phone numbers and their geographical areas.', 'duration': 28.894, 'max_score': 173.932, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE173932.jpg'}], 'start': 0.029, 'title': 'Regular expressions in python and data verification', 'summary': 'Focuses on regular expressions in python, covering applications such as email and phone number verification, web scraping, and solving problems like extracting date and time from log files. it also discusses using regular expressions for verifying email addresses and phone numbers, including identifying correct and fake ones and determining the geographic location of phone numbers, along with updating area codes in a student database.', 'chapters': [{'end': 96.899, 'start': 0.029, 'title': 'Regular expressions in python', 'summary': 'Focuses on regular expressions in python, covering the agenda, applications such as email and phone number verification, web scraping, and solving problems like extracting date and time from log files using regular expressions.', 'duration': 96.87, 'highlights': ['The chapter covers various applications of regular expressions including email verification, phone number verification, and web scraping. This highlights the various applications of regular expressions, showcasing their versatility in email and phone number verification as well as web scraping.', 'The chapter discusses the problem of extracting date and time from a log file using regular expressions. This highlights a specific problem that regular expressions help to solve, showcasing their capability to extract specific information like date and time from log files.', 'The chapter explains the agenda for the session, including the problems that regular expressions help to solve. This highlights the overview of the agenda, emphasizing the focus on problems solved by regular expressions.']}, {'end': 233.686, 'start': 97.3, 'title': 'Using regular expressions for data verification', 'summary': 'Discusses how regular expressions can be used to verify email addresses and phone numbers, identifying correct and fake ones, and determining the geographic location of phone numbers, along with updating area codes in a student database.', 'duration': 136.386, 'highlights': ['Regular expressions can be used to verify the format of email addresses, distinguishing between correct and fake ones. Regular expressions help identify correct and fake email addresses by verifying their format.', 'Regular expressions can determine the correctness of phone numbers and identify their geographic location based on the format. Regular expressions aid in identifying correct phone numbers, determining their geographic location, and recognizing different formats for various countries.', "Regular expressions can be utilized to update area codes in a student database, such as changing 'five nine double zero six' to 'five nine zero seven six'. Regular expressions can be used to update area codes in a student database, for example, changing 'five nine double zero six' to 'five nine zero seven six'."]}], 'duration': 233.657, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE29.jpg', 'highlights': ['The chapter covers various applications of regular expressions including email verification, phone number verification, and web scraping. This highlights the various applications of regular expressions, showcasing their versatility in email and phone number verification as well as web scraping.', "Regular expressions can be utilized to update area codes in a student database, such as changing 'five nine double zero six' to 'five nine zero seven six'. Regular expressions can be used to update area codes in a student database, for example, changing 'five nine double zero six' to 'five nine zero seven six'.", 'Regular expressions can determine the correctness of phone numbers and identify their geographic location based on the format. Regular expressions aid in identifying correct phone numbers, determining their geographic location, and recognizing different formats for various countries.']}, {'end': 633.617, 'segs': [{'end': 260.966, 'src': 'embed', 'start': 234.326, 'weight': 0, 'content': [{'end': 237.809, 'text': "Now, if you go manually update that for all the students, that'll take a lot of time.", 'start': 234.326, 'duration': 3.483}, {'end': 244.554, 'text': 'So instead of that, what you can do, you can make use of regular expressions and find out all the area codes from the student database.', 'start': 238.349, 'duration': 6.205}, {'end': 248.837, 'text': 'And after that, you can replace it with the updated area code or the pin code.', 'start': 245.014, 'duration': 3.823}, {'end': 252.94, 'text': 'So as you can see, with regular expressions, you can even replace a particular string.', 'start': 249.117, 'duration': 3.823}, {'end': 256.463, 'text': 'So I hope all the problems that we have discussed till now are clear to you.', 'start': 253.481, 'duration': 2.982}, {'end': 259.065, 'text': 'All right, so Devon says yes.', 'start': 257.724, 'duration': 1.341}, {'end': 260.966, 'text': 'So does Theon, Jason.', 'start': 259.665, 'duration': 1.301}], 'summary': 'Using regular expressions can automate updating area codes in student database.', 'duration': 26.64, 'max_score': 234.326, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE234326.jpg'}, {'end': 318.184, 'src': 'embed', 'start': 277.626, 'weight': 1, 'content': [{'end': 282.789, 'text': 'if you have any other programming background, like Java, PHP, C, hash, Groovy, Swift, Ruby,', 'start': 277.626, 'duration': 5.163}, {'end': 286.932, 'text': 'you can use regular expressions because it is compatible with all of these programming languages.', 'start': 282.789, 'duration': 4.143}, {'end': 290.787, 'text': 'And it is even compatible with JavaScript, although it is not written here.', 'start': 287.765, 'duration': 3.022}, {'end': 293.389, 'text': 'But yeah, it is even compatible with JavaScript.', 'start': 290.887, 'duration': 2.502}, {'end': 297.772, 'text': 'So till now we have seen various reasons to use regular expressions.', 'start': 294.11, 'duration': 3.662}, {'end': 301.795, 'text': 'But I know you guys must be wondering what exactly regular expressions is right?', 'start': 298.173, 'duration': 3.622}, {'end': 306.279, 'text': "So don't worry, guys, we'll move forward and we'll see what exactly regular expression is.", 'start': 302.356, 'duration': 3.923}, {'end': 312.363, 'text': 'So a regular expression is basically used for describing a search pattern.', 'start': 308.46, 'duration': 3.903}, {'end': 318.184, 'text': 'So you can use regular expression for searching a specific string in a large amount of data.', 'start': 313.001, 'duration': 5.183}], 'summary': 'Regular expressions compatible with multiple programming languages, used for describing search patterns.', 'duration': 40.558, 'max_score': 277.626, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE277626.jpg'}, {'end': 431.443, 'src': 'embed', 'start': 405.662, 'weight': 3, 'content': [{'end': 412.525, 'text': 'So the first letter of all the names is an uppercase letter and when we talk about age all of the age are represented in numbers.', 'start': 405.662, 'duration': 6.863}, {'end': 414.145, 'text': 'So what you can do?', 'start': 413.005, 'duration': 1.14}, {'end': 419.527, 'text': 'with the help of regular expression, you can actually find out the two digit numbers and at the same time,', 'start': 414.145, 'duration': 5.382}, {'end': 425.529, 'text': 'you can find out the words that starts with an uppercase letter and then it goes on to lowercase letters,', 'start': 419.527, 'duration': 6.002}, {'end': 427.49, 'text': 'and the star actually represents all of them.', 'start': 425.529, 'duration': 1.961}, {'end': 431.443, 'text': "So you don't need to worry about the syntax that is there in front of your screen.", 'start': 428.442, 'duration': 3.001}], 'summary': 'Use regular expressions to find 2-digit numbers and words starting with uppercase letters in the names and ages data.', 'duration': 25.781, 'max_score': 405.662, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE405662.jpg'}, {'end': 549.453, 'src': 'embed', 'start': 521.658, 'weight': 4, 'content': [{'end': 526.901, 'text': "So this is just an example that I'm giving you that with the help of regular expression, you can actually get the name and age.", 'start': 521.658, 'duration': 5.243}, {'end': 530.703, 'text': "After that, I'm going to discuss each and every operation in detail.", 'start': 527.401, 'duration': 3.302}, {'end': 535.686, 'text': "So what I'm going to type in, you don't need to worry about that, I'm just showing you that you can actually do it.", 'start': 531.163, 'duration': 4.523}, {'end': 537.667, 'text': "I'm just giving an example.", 'start': 536.446, 'duration': 1.221}, {'end': 549.453, 'text': 're.findAll are one comma three, because all of my ages are two digits, are of two digits.', 'start': 538.387, 'duration': 11.066}], 'summary': 'Regular expressions can extract names and ages, with findall returning two-digit ages.', 'duration': 27.795, 'max_score': 521.658, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE521658.jpg'}, {'end': 633.617, 'src': 'embed', 'start': 595.811, 'weight': 7, 'content': [{'end': 616.344, 'text': "Now I'm going to use a for loop I'll type in for each name in names age dict each name ages x, x plus equal to one.", 'start': 595.811, 'duration': 20.533}, {'end': 620.927, 'text': 'Now print this age dict, yeah.', 'start': 617.905, 'duration': 3.022}, {'end': 625.09, 'text': "So if you're not able to understand what exactly for loop is and what are dictionaries,", 'start': 621.448, 'duration': 3.642}, {'end': 629.554, 'text': 'so you can go and watch the previous tutorial videos in Python and then come back again.', 'start': 625.09, 'duration': 4.464}, {'end': 633.617, 'text': "Now let's go ahead and execute this.", 'start': 631.555, 'duration': 2.062}], 'summary': 'Using a for loop to iterate through a dictionary and incrementing ages, then printing the updated age dictionary.', 'duration': 37.806, 'max_score': 595.811, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE595811.jpg'}], 'start': 234.326, 'title': 'Using regular expressions for data manipulation, identifying names and ages, and extracting name and age with python', 'summary': 'Discusses the versatile use of regular expressions for finding and replacing area codes, identifying patterns for extracting names and ages from a string, and demonstrates extracting names and ages using python, highlighting compatibility with multiple programming languages and emphasizing correct pattern identification and understanding of for loops and dictionaries.', 'chapters': [{'end': 342.096, 'start': 234.326, 'title': 'Using regular expressions for data manipulation', 'summary': 'Discusses the use of regular expressions for finding and replacing area codes in a student database, and highlights the compatibility of regular expressions with multiple programming languages, emphasizing its versatility and various use cases.', 'duration': 107.77, 'highlights': ['Regular expressions can be used to find and replace area codes in a student database, saving time and effort, and allowing for efficient data manipulation.', 'Regular expressions are compatible with multiple programming languages such as Java, PHP, C, Groovy, Swift, and Ruby, as well as JavaScript, providing versatility and enabling users from diverse programming backgrounds to utilize them.', 'Regular expressions are used for describing search patterns, searching specific strings in large datasets, verifying string formats, replacing strings, and formatting data for import, showcasing their diverse applications in data manipulation.']}, {'end': 460.621, 'start': 342.096, 'title': 'Identifying names and ages with regular expressions', 'summary': 'Discusses using regular expressions to identify patterns for extracting names and ages from a given string, where names start with an uppercase letter and ages are represented by integer numbers, and emphasizes the importance of identifying the correct pattern for the given string.', 'duration': 118.525, 'highlights': ['The chapter emphasizes the importance of identifying the correct pattern for the given string, highlighting that names start with an uppercase letter and ages are represented by integer numbers, and discusses the use of regular expressions to extract the desired information.', 'The speaker explains that names in the string start with an uppercase letter and ages are represented by integer numbers, and suggests using regular expressions to identify the pattern and extract the relevant data.', 'The discussion focuses on using regular expressions to identify the pattern for extracting names and ages from the given string, where names start with an uppercase letter and ages are represented by integer numbers, and highlights the need to ensure the correct pattern is identified for the string.']}, {'end': 633.617, 'start': 461.321, 'title': 'Extracting name and age with python regular expressions', 'summary': 'Demonstrates how to use regular expressions in python to extract names and ages from a string, showcasing example syntax and operations for achieving this while emphasizing the importance of understanding for loops and dictionaries.', 'duration': 172.296, 'highlights': ['The chapter demonstrates using regular expressions in Python to extract names and ages from a string, showcasing example syntax and operations for achieving this.', 'The example provided involves extracting names and ages using regular expressions, with specific demonstrations of the syntax and operations involved.', 'The tutorial emphasizes the importance of understanding for loops and dictionaries in Python for effectively implementing the demonstrated operations.']}], 'duration': 399.291, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE234326.jpg', 'highlights': ['Regular expressions can be used to find and replace area codes in a student database, saving time and effort, and allowing for efficient data manipulation.', 'Regular expressions are compatible with multiple programming languages such as Java, PHP, C, Groovy, Swift, and Ruby, as well as JavaScript, providing versatility and enabling users from diverse programming backgrounds to utilize them.', 'Regular expressions are used for describing search patterns, searching specific strings in large datasets, verifying string formats, replacing strings, and formatting data for import, showcasing their diverse applications in data manipulation.', 'The chapter emphasizes the importance of identifying the correct pattern for the given string, highlighting that names start with an uppercase letter and ages are represented by integer numbers, and discusses the use of regular expressions to extract the desired information.', 'The chapter demonstrates using regular expressions in Python to extract names and ages from a string, showcasing example syntax and operations for achieving this.', 'The discussion focuses on using regular expressions to identify the pattern for extracting names and ages from the given string, where names start with an uppercase letter and ages are represented by integer numbers, and highlights the need to ensure the correct pattern is identified for the string.', 'The example provided involves extracting names and ages using regular expressions, with specific demonstrations of the syntax and operations involved.', 'The tutorial emphasizes the importance of understanding for loops and dictionaries in Python for effectively implementing the demonstrated operations.']}, {'end': 1077.018, 'segs': [{'end': 744.28, 'src': 'embed', 'start': 719.907, 'weight': 0, 'content': [{'end': 725.592, 'text': "Although this particular slide is pretty simple to understand, I'm just telling you how cursor works in regular expression.", 'start': 719.907, 'duration': 5.685}, {'end': 728.434, 'text': 'This will basically help you to visualize how things work.', 'start': 725.692, 'duration': 2.742}, {'end': 735.014, 'text': "All right, so everyone's clear, so we'll move forward and we'll look at various operations that you can perform with regular expressions.", 'start': 729.13, 'duration': 5.884}, {'end': 739.457, 'text': "So first we'll find a word in a string.", 'start': 737.295, 'duration': 2.162}, {'end': 744.28, 'text': 'So we have a string that says we need to inform him with the latest information.', 'start': 739.997, 'duration': 4.283}], 'summary': 'Explaining how the cursor works in regular expression and introducing operations like finding a word in a string.', 'duration': 24.373, 'max_score': 719.907, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE719907.jpg'}, {'end': 800.81, 'src': 'embed', 'start': 760.382, 'weight': 3, 'content': [{'end': 767.268, 'text': "So for that I'll type import re and now we have a sentence and we want to find a word inform there.", 'start': 760.382, 'duration': 6.886}, {'end': 789.982, 'text': "So what I'll do, I'll just type in if re.search inform and our string is we need to inform him with the latest information.", 'start': 768.008, 'duration': 21.974}, {'end': 798.889, 'text': "So this is our string, give a colon and now I'm going to type in print there is inform.", 'start': 790.663, 'duration': 8.226}, {'end': 800.81, 'text': "So let me tell you what I've done here.", 'start': 799.589, 'duration': 1.221}], 'summary': "Using python's re module to search for the word 'inform' in a given sentence.", 'duration': 40.428, 'max_score': 760.382, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE760382.jpg'}, {'end': 968.179, 'src': 'embed', 'start': 904.768, 'weight': 1, 'content': [{'end': 909.974, 'text': "This is a string that I'm using and I finally I've used for in order to find all the matches.", 'start': 904.768, 'duration': 5.206}, {'end': 912.761, 'text': "So let's go ahead and execute this.", 'start': 910.759, 'duration': 2.002}, {'end': 920.668, 'text': 'So yeah, it has found inform twice because you can see that it is available here as well inform and even information over here.', 'start': 913.542, 'duration': 7.126}, {'end': 922.53, 'text': 'You can see that inform is present.', 'start': 920.688, 'duration': 1.842}, {'end': 928.215, 'text': 'So this is how basically you find a word in a string by the help of a regular expression.', 'start': 923.751, 'duration': 4.464}, {'end': 931.197, 'text': 'So, if you have any doubts still here, you can ask me,', 'start': 928.795, 'duration': 2.402}, {'end': 937.163, 'text': 'or else you can give me a confirmation so that I can move forward and explain you other operations that you can perform with regular expressions.', 'start': 931.197, 'duration': 5.966}, {'end': 946.95, 'text': "Any doubts guys? So Devon says all clear, so does Jason, Theon, Sarah, Ayushi, Jagruti, all right, it's fine guys.", 'start': 938.959, 'duration': 7.991}, {'end': 948.933, 'text': 'So let me first go back to my slides.', 'start': 947.311, 'duration': 1.622}, {'end': 952.498, 'text': 'So we have seen how to find a word in a string.', 'start': 950.555, 'duration': 1.943}, {'end': 956.163, 'text': 'Next, we are going to understand how to generate an iterator.', 'start': 953.159, 'duration': 3.004}, {'end': 962.076, 'text': "So basically what I'm going to do is I'm going to get the starting and the ending index for the word that I'm searching.", 'start': 956.854, 'duration': 5.222}, {'end': 963.917, 'text': "Over here I'm searching inform.", 'start': 962.617, 'duration': 1.3}, {'end': 968.179, 'text': "So it'll give me the starting as well as the ending index for all the matches that it finds.", 'start': 964.237, 'duration': 3.942}], 'summary': 'Using regular expressions to find word matches in a string and generate an iterator for the matches.', 'duration': 63.411, 'max_score': 904.768, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE904768.jpg'}, {'end': 1087.063, 'src': 'embed', 'start': 1057.605, 'weight': 7, 'content': [{'end': 1061.805, 'text': 'So this is how you can actually generate an iterator by using find iterator.', 'start': 1057.605, 'duration': 4.2}, {'end': 1066.386, 'text': 'And this will return the starting as well as the ending index of the matching object.', 'start': 1062.665, 'duration': 3.721}, {'end': 1068.887, 'text': 'So if you have any doubts you can write it down in your chat box.', 'start': 1066.406, 'duration': 2.481}, {'end': 1069.967, 'text': "It's pretty easy guys.", 'start': 1068.947, 'duration': 1.02}, {'end': 1077.018, 'text': 'Any doubts? If the answer is all clear, so does Jason, Dave, Theon, all right, fine guys.', 'start': 1070.907, 'duration': 6.111}, {'end': 1081.52, 'text': "So we'll move forward and we'll have a look at the other operations that you can perform with regex.", 'start': 1077.518, 'duration': 4.002}, {'end': 1087.063, 'text': "So now what I'm going to do is I'm going to match words with a particular pattern.", 'start': 1083.221, 'duration': 3.842}], 'summary': 'Generating an iterator using find iterator; matching words with a particular pattern.', 'duration': 29.458, 'max_score': 1057.605, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1057605.jpg'}], 'start': 634.077, 'title': 'Regular expressions and word searching', 'summary': 'Covers the basics of regular expressions, including cursor operations, pattern matching, and finding words in a string. it also demonstrates using regular expressions to find specific words and generating iterators for word searching, providing practical examples and methods for audience engagement.', 'chapters': [{'end': 739.457, 'start': 634.077, 'title': 'Regular expression operations', 'summary': 'Covers the basics of regular expressions, including cursor operations, pattern matching, and finding words in a string, aimed at aiding visualization and understanding. it also invites questions from the audience regarding regular expressions.', 'duration': 105.38, 'highlights': ['The chapter covers the basics of regular expressions, including cursor operations, pattern matching, and finding words in a string. It discusses the basics of regular expressions, such as cursor operations and pattern matching, offering a foundational understanding of the concept.', 'It also invites questions from the audience regarding regular expressions. The chapter encourages audience participation by inviting questions about regular expressions, fostering engagement and clarifying any doubts.']}, {'end': 948.933, 'start': 739.997, 'title': 'Using regular expressions to find words', 'summary': "Demonstrates using regular expressions to find the word 'inform' in a given string, showcasing the usage of re.search and re.findall methods, where the word 'inform' is found twice in the string 'we need to inform him with the latest information'.", 'duration': 208.936, 'highlights': ["The chapter demonstrates using regular expressions to find the word 'inform' in a given string, showcasing the usage of re.search and re.findall methods, where the word 'inform' is found twice in the string 'we need to inform him with the latest information'.", "The author explains the usage of re.search to find a specific word in a string and prints 'there is inform' after finding it, providing a clear example of a conditional search.", "The author showcases the usage of re.findall method to find all occurrences of the word 'inform' in the given string, and successfully prints the word twice, demonstrating the functionality of the method."]}, {'end': 1077.018, 'start': 950.555, 'title': 'Generate iterator for word searching', 'summary': "Demonstrates how to use the find iterator to generate an iterator for searching a word in a string, providing examples of finding the starting and ending indices for the word 'inform' and 'information'. it also highlights the ease of generating an iterator and the clarity in understanding the process.", 'duration': 126.463, 'highlights': ['The chapter demonstrates how to use the find iterator to generate an iterator for searching a word in a string. It explains the process of generating an iterator using the find iterator method for searching a word in a string.', "Provides examples of finding the starting and ending indices for the word 'inform' and 'information'. It includes examples of finding the starting and ending indices for the word 'inform' and 'information', which are 11 and 17 for 'inform' and 38 and 44 for 'information'.", 'Highlights the ease of generating an iterator and the clarity in understanding the process. It emphasizes the simplicity of generating an iterator and the clarity in understanding the process, making it easy for the audience to comprehend.']}], 'duration': 442.941, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE634077.jpg', 'highlights': ['The chapter covers the basics of regular expressions, including cursor operations, pattern matching, and finding words in a string.', 'The chapter encourages audience participation by inviting questions about regular expressions, fostering engagement and clarifying any doubts.', "The chapter demonstrates using regular expressions to find the word 'inform' in a given string, showcasing the usage of re.search and re.findall methods, where the word 'inform' is found twice in the string 'we need to inform him with the latest information'.", "The author explains the usage of re.search to find a specific word in a string and prints 'there is inform' after finding it, providing a clear example of a conditional search.", "The author showcases the usage of re.findall method to find all occurrences of the word 'inform' in the given string, and successfully prints the word twice, demonstrating the functionality of the method.", 'The chapter demonstrates how to use the find iterator to generate an iterator for searching a word in a string.', "Provides examples of finding the starting and ending indices for the word 'inform' and 'information', which are 11 and 17 for 'inform' and 38 and 44 for 'information'.", 'It emphasizes the simplicity of generating an iterator and the clarity in understanding the process, making it easy for the audience to comprehend.']}, {'end': 1745.55, 'segs': [{'end': 1158.105, 'src': 'embed', 'start': 1122.738, 'weight': 0, 'content': [{'end': 1132.386, 'text': 'So we have sat, mat, hat mat and we have bat.', 'start': 1122.738, 'duration': 9.648}, {'end': 1133.887, 'text': 'This is our string.', 'start': 1133.166, 'duration': 0.721}, {'end': 1137.429, 'text': 'Now I want to match anything that ends with at.', 'start': 1134.787, 'duration': 2.642}, {'end': 1145.073, 'text': "So for that I am going to define a variable all str and now what I'm going to do is re.findall.", 'start': 1137.949, 'duration': 7.124}, {'end': 1152.677, 'text': 'Now what I want, I want words that starts with s, h, m and p.', 'start': 1146.314, 'duration': 6.363}, {'end': 1155.943, 'text': 'All right and after that it should end with add.', 'start': 1152.677, 'duration': 3.266}, {'end': 1156.884, 'text': "So I've written add.", 'start': 1156.063, 'duration': 0.821}, {'end': 1158.105, 'text': "It's very simple guys.", 'start': 1157.144, 'duration': 0.961}], 'summary': "Using re.findall to match words ending with 'at' from a given string.", 'duration': 35.367, 'max_score': 1122.738, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1122738.jpg'}, {'end': 1244.609, 'src': 'embed', 'start': 1214.781, 'weight': 1, 'content': [{'end': 1219.845, 'text': 'you can give me a confirmation so that I can explain you the other operations that you can perform with regular expressions.', 'start': 1214.781, 'duration': 5.064}, {'end': 1223.268, 'text': "All right, so I've got a confirmation from almost everyone.", 'start': 1221.126, 'duration': 2.142}, {'end': 1227.651, 'text': 'So let me go back to my site and see what all other operations that we can perform with regular expressions.', 'start': 1223.328, 'duration': 4.323}, {'end': 1233.476, 'text': "Now over here, what I'm going to do is I'm going to match series of range of characters.", 'start': 1229.413, 'duration': 4.063}, {'end': 1236.759, 'text': 'Now what does that mean? Let me explain you with the example that is there.', 'start': 1233.556, 'duration': 3.203}, {'end': 1244.609, 'text': 'So now what I want here is I want all the words in which the first letter is between the range H to M.', 'start': 1237.059, 'duration': 7.55}], 'summary': 'Exploring regular expressions for matching range of characters.', 'duration': 29.828, 'max_score': 1214.781, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1214781.jpg'}, {'end': 1370.655, 'src': 'heatmap', 'start': 1308.073, 'weight': 0.79, 'content': [{'end': 1314.256, 'text': 'So it has printed all the range of characters whose first letter is present in the range H to Z.', 'start': 1308.073, 'duration': 6.183}, {'end': 1323.12, 'text': 'So now I can use a caret symbol that will include all the words apart from ones which have the first letter between the range H to M.', 'start': 1314.256, 'duration': 8.864}, {'end': 1328.563, 'text': "So let me first make it as M and now I'm going to use a caret symbol, yeah.", 'start': 1323.12, 'duration': 5.443}, {'end': 1334.979, 'text': 'So when I use this carrot symbol, this means everything apart from this range that is H2M.', 'start': 1329.557, 'duration': 5.422}, {'end': 1345.263, 'text': "Go on and execute this, and you can see it has printed sat and pat, but not hat and mat because of the carrot symbol that I've just shown you right?", 'start': 1335.719, 'duration': 9.544}, {'end': 1350.545, 'text': 'So I hope you all are clear with how to actually find a range of characters in a string.', 'start': 1346.024, 'duration': 4.521}, {'end': 1352.906, 'text': "All right, so everyone's clear.", 'start': 1351.886, 'duration': 1.02}, {'end': 1354.447, 'text': "So I'll open my slides once again.", 'start': 1352.946, 'duration': 1.501}, {'end': 1358.527, 'text': 'And now what I want, I want to replace a particular string.', 'start': 1355.905, 'duration': 2.622}, {'end': 1362.61, 'text': 'So as you can see in the example, I have a string in which we have hat, rat, mat, and path.', 'start': 1359.187, 'duration': 3.423}, {'end': 1365.612, 'text': "But I want to replace this rat, I don't like rats.", 'start': 1363.23, 'duration': 2.382}, {'end': 1370.655, 'text': 'All right, so jokes apart, I want to replace this rat, and I want to replace it with the word food.', 'start': 1366.452, 'duration': 4.203}], 'summary': "Demonstration of using caret symbol to exclude characters in a range. replacing 'rat' with 'food'.", 'duration': 62.582, 'max_score': 1308.073, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1308073.jpg'}, {'end': 1358.527, 'src': 'embed', 'start': 1335.719, 'weight': 2, 'content': [{'end': 1345.263, 'text': "Go on and execute this, and you can see it has printed sat and pat, but not hat and mat because of the carrot symbol that I've just shown you right?", 'start': 1335.719, 'duration': 9.544}, {'end': 1350.545, 'text': 'So I hope you all are clear with how to actually find a range of characters in a string.', 'start': 1346.024, 'duration': 4.521}, {'end': 1352.906, 'text': "All right, so everyone's clear.", 'start': 1351.886, 'duration': 1.02}, {'end': 1354.447, 'text': "So I'll open my slides once again.", 'start': 1352.946, 'duration': 1.501}, {'end': 1358.527, 'text': 'And now what I want, I want to replace a particular string.', 'start': 1355.905, 'duration': 2.622}], 'summary': 'Demonstration of finding and replacing string characters using a specific symbol.', 'duration': 22.808, 'max_score': 1335.719, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1335719.jpg'}, {'end': 1713.699, 'src': 'embed', 'start': 1684.644, 'weight': 4, 'content': [{'end': 1688.344, 'text': 'Keep the blue flag in one line, flying high in one line, Chelsea in one line.', 'start': 1684.644, 'duration': 3.7}, {'end': 1693.986, 'text': "But with the help of regular expression, I've replaced the new lines with a space.", 'start': 1689.005, 'duration': 4.981}, {'end': 1697.627, 'text': 'So this is how you can work out with the white spaces.', 'start': 1694.926, 'duration': 2.701}, {'end': 1700.987, 'text': 'So this is how you can work with white spaces.', 'start': 1699.167, 'duration': 1.82}, {'end': 1703.828, 'text': "Now there are other white spaces that you'll be able to work with.", 'start': 1701.107, 'duration': 2.721}, {'end': 1706.289, 'text': 'For example, let me just show you.', 'start': 1703.928, 'duration': 2.361}, {'end': 1713.699, 'text': 'So you have a backslash B that stands for what? It stands for backspace.', 'start': 1707.669, 'duration': 6.03}], 'summary': 'Using regular expressions, new lines were replaced with spaces and backslash b was explained as standing for backspace.', 'duration': 29.055, 'max_score': 1684.644, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1684644.jpg'}], 'start': 1077.518, 'title': 'Using regular expressions for word matching and string manipulation', 'summary': "Covers using regular expressions to match words with specific patterns, identifying words ending with 'at', and demonstrating range finding in strings, along with string manipulation techniques and examples of handling white spaces.", 'chapters': [{'end': 1233.476, 'start': 1077.518, 'title': 'Matching words with regex', 'summary': "Demonstrates how to use regular expressions to match words with a specific pattern, identifying words ending with 'at' and explaining the use of character ranges, resulting in the identification of 'hat', 'mat', 'pat', and 'sat' when the case is adjusted.", 'duration': 155.958, 'highlights': ["Demonstrating how to match words ending with 'at' using regex The instructor demonstrates the process of using regex to identify words ending with 'at' in a given string, resulting in the identification of 'hat', 'mat', 'pat', and 'sat' when the case is adjusted.", "Explaining the use of character ranges in regular expressions The instructor explains the use of character ranges in regex, specifying the characters 's', 'h', 'm', and 'p' to identify words beginning with these letters in the given string.", 'Engaging participants in confirming understanding and addressing potential questions The instructor actively engages the participants, encouraging them to ask questions and seek clarification, ultimately receiving confirmation from the majority before proceeding with further explanations.']}, {'end': 1745.55, 'start': 1233.556, 'title': 'Range finding and string manipulation', 'summary': 'Demonstrates how to find specific characters within a range in a string using regular expressions, replace a specific substring, and handle backslash problems, along with examples of dealing with white spaces, such as replacing new lines with spaces.', 'duration': 511.994, 'highlights': ["Demonstrates finding characters within a specific range in a string using regular expressions and printing the results, with examples of including and excluding specific characters. Finding characters within the range H to M and printing words ending with 'at', including/excluding specific characters based on the range.", "Illustrates the process of replacing a specific substring within a string using regular expressions and printing the modified string. Replacing the substring 'rat' with 'food' within the string and printing the updated result.", 'Addresses the backslash problem in strings using regular expressions and demonstrates its resolution, showcasing the use of raw strings to handle backslashes. Solving the issue of displaying single backslashes instead of double backslashes using raw strings and regular expressions.', 'Provides examples of handling white spaces in strings using regular expressions, including replacing new lines with spaces and discussing various white space characters like backspace, form feed, carriage return, tab, and vertical tab. Replacing new lines with spaces and discussing different white space characters like backspace, form feed, carriage return, tab, and vertical tab.']}], 'duration': 668.032, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1077518.jpg', 'highlights': ["Demonstrating how to match words ending with 'at' using regex", 'Explaining the use of character ranges in regular expressions', 'Demonstrates finding characters within a specific range in a string using regular expressions and printing the results', 'Illustrates the process of replacing a specific substring within a string using regular expressions and printing the modified string', 'Provides examples of handling white spaces in strings using regular expressions']}, {'end': 1948.177, 'segs': [{'end': 1801.484, 'src': 'embed', 'start': 1766.338, 'weight': 1, 'content': [{'end': 1785.499, 'text': "I'm going to type in print matches, I'm going to give a colon and then I'll type in length re.findall backslash D in a random string.", 'start': 1766.338, 'duration': 19.161}, {'end': 1789.52, 'text': 'Now over here you can notice that we have backslash D.', 'start': 1786.379, 'duration': 3.141}, {'end': 1795.002, 'text': 'So basically this backslash D will match any numbers, any, any numbers which are present.', 'start': 1789.52, 'duration': 5.482}, {'end': 1801.484, 'text': 'But if I write a capital D over here, so it will match anything but a number.', 'start': 1795.662, 'duration': 5.822}], 'summary': 'Using regular expressions to match numbers and non-numbers in a string.', 'duration': 35.146, 'max_score': 1766.338, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1766338.jpg'}, {'end': 1948.177, 'src': 'heatmap', 'start': 1801.977, 'weight': 0, 'content': [{'end': 1806.619, 'text': 'So let me keep it as backslash D and print this and show you what it will give us.', 'start': 1801.977, 'duration': 4.642}, {'end': 1810.54, 'text': 'So we have five matches as you can see that we have five digits.', 'start': 1807.299, 'duration': 3.241}, {'end': 1815.942, 'text': "Now if I make it as capital D, so that'll return me everything but the digits.", 'start': 1811.181, 'duration': 4.761}, {'end': 1817.383, 'text': 'So let me just show you.', 'start': 1816.082, 'duration': 1.301}, {'end': 1822.525, 'text': "I've converted this to capital D, go on and execute this so we have zero matches now.", 'start': 1818.223, 'duration': 4.302}, {'end': 1829.599, 'text': "So now if I want to match a specific digit, I'll be using curly braces.", 'start': 1825.438, 'duration': 4.161}, {'end': 1831.899, 'text': 'So let me show you how you are going to do it.', 'start': 1830.119, 'duration': 1.78}, {'end': 1836.88, 'text': 'So in the curly braces, just type in five and it should print that for us.', 'start': 1832.179, 'duration': 4.701}, {'end': 1841.161, 'text': 'So yep, it has found one match that is present over here.', 'start': 1838.421, 'duration': 2.74}, {'end': 1848.563, 'text': "So now what I'll do, I'll clear this again and I'm going to define in one more variable, say let it be num.", 'start': 1842.461, 'duration': 6.102}, {'end': 1851.479, 'text': 'Over here I have 103.', 'start': 1849.163, 'duration': 2.316}, {'end': 1861.104, 'text': 'then our 1, 2, 3, 4, then our 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, and 7.', 'start': 1851.479, 'duration': 9.625}, {'end': 1863.525, 'text': 'Now we can even match digits with a certain range.', 'start': 1861.104, 'duration': 2.421}, {'end': 1866.426, 'text': "Let's say our range is between 5 to 7.", 'start': 1863.705, 'duration': 2.721}, {'end': 1868.307, 'text': "So for that, what I'm going to type in?", 'start': 1866.426, 'duration': 1.881}, {'end': 1874.69, 'text': "I'm going to type in a print statement and again I keep it as matches.", 'start': 1868.307, 'duration': 6.383}, {'end': 1875.911, 'text': 'give a comma.', 'start': 1874.69, 'duration': 1.221}, {'end': 1882.937, 'text': "and now I'm going to type in length re.findall, What I'm searching for?", 'start': 1875.911, 'duration': 7.026}, {'end': 1887.579, 'text': "I'm searching for digits, so backslash D and what is my range?", 'start': 1882.937, 'duration': 4.642}, {'end': 1891.18, 'text': 'Range is between five to seven.', 'start': 1887.639, 'duration': 3.541}, {'end': 1894.921, 'text': 'give a comma and then type in the string name, that is num.', 'start': 1891.18, 'duration': 3.741}, {'end': 1903.503, 'text': 'Go ahead, execute this, and it finds three matches, because over here we have five, over here we have five and six, over here we have five,', 'start': 1895.601, 'duration': 7.902}, {'end': 1904.163, 'text': 'six and seven.', 'start': 1903.503, 'duration': 0.66}, {'end': 1906.544, 'text': 'so it has found the three matches that we were talking about.', 'start': 1904.163, 'duration': 2.381}, {'end': 1911.71, 'text': 'So this is how you can perform basic operations using regular expressions.', 'start': 1907.807, 'duration': 3.903}, {'end': 1915.253, 'text': 'So if you have any doubts any queries you can write it down in your chat box.', 'start': 1912.371, 'duration': 2.882}, {'end': 1917.395, 'text': "I'll be happy to help you guys any questions.", 'start': 1915.293, 'duration': 2.102}, {'end': 1920.538, 'text': 'So we have no questions.', 'start': 1919.377, 'duration': 1.161}, {'end': 1922.099, 'text': 'So let me open my slides again.', 'start': 1920.558, 'duration': 1.541}, {'end': 1927.464, 'text': 'Now we have seen all basic operations that you can perform with regular expressions.', 'start': 1924.021, 'duration': 3.443}, {'end': 1931.507, 'text': 'Now, how about I show you what are the various applications of regular expressions.', 'start': 1928.144, 'duration': 3.363}, {'end': 1933.948, 'text': "I'm going to take, in some use cases,", 'start': 1931.547, 'duration': 2.401}, {'end': 1939.231, 'text': "a problem statement and I'm going to show you how you can use regular expressions in order to solve those problems.", 'start': 1933.948, 'duration': 5.283}, {'end': 1944.414, 'text': 'How about that guys? All right, so I see a lot of people are interested in that.', 'start': 1939.691, 'duration': 4.723}, {'end': 1948.177, 'text': 'So without any further ado, let us move forward and see how you can do that.', 'start': 1944.474, 'duration': 3.703}], 'summary': 'The transcript discusses basic operations using regular expressions, demonstrating matches and ranges, with an example finding three matches between 5 to 7, and concludes by mentioning the various applications of regular expressions.', 'duration': 122.739, 'max_score': 1801.977, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1801977.jpg'}], 'start': 1746.27, 'title': 'Using regular expressions in python', 'summary': 'Demonstrates how to use regular expressions in python to match specific characters, including digits and non-digits. it yields 5 matches for digits and 0 matches for non-digits, and highlights the use of curly braces to specify a specific digit. additionally, it explains how to find digits within a certain range, such as 5 to 7, and demonstrates finding three matches using the given example. moreover, the chapter discusses basic operations using regular expressions and introduces the various applications of regular expressions in solving problems, eliciting audience interest and participation.', 'chapters': [{'end': 1851.479, 'start': 1746.27, 'title': 'Matching characters in python', 'summary': 'Demonstrates how to use regular expressions in python to match specific characters, including digits and non-digits, yielding 5 matches for digits and 0 matches for non-digits, and highlighting the use of curly braces to specify a specific digit.', 'duration': 105.209, 'highlights': ['The use of backslash D in re.findall backslash D in a random string yields 5 matches for any numbers present, while using capital D returns 0 matches for anything but a number.', 'The demonstration of using curly braces to specify a specific digit, such as typing in five, resulting in finding one match in the given context.', 'The explanation and execution of re.findall backslash D in a random string to show 5 matches for any numbers present, and using capital D to return 0 matches for anything but a number.']}, {'end': 1906.544, 'start': 1851.479, 'title': 'Using regular expressions to match digits', 'summary': 'Explains how to use regular expressions to find digits within a certain range, such as 5 to 7, and demonstrates finding three matches using the given example.', 'duration': 55.065, 'highlights': ['The regular expression is used to find digits within a specific range, such as 5 to 7, and it successfully finds three matches in the provided example.', "The provided example demonstrates the use of the findall function in Python's re module to search for digits within the specified range and accurately returns the count of matches as three."]}, {'end': 1948.177, 'start': 1907.807, 'title': 'Regular expressions applications', 'summary': 'Discusses basic operations using regular expressions and introduces the various applications of regular expressions in solving problems, eliciting audience interest and participation.', 'duration': 40.37, 'highlights': ['The chapter discusses basic operations using regular expressions.', 'Introduces various applications of regular expressions in solving problems.', 'Elicits audience interest and participation in the topic.']}], 'duration': 201.907, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1746270.jpg', 'highlights': ['The regular expression is used to find digits within a specific range, such as 5 to 7, and it successfully finds three matches in the provided example.', 'The use of backslash D in re.findall backslash D in a random string yields 5 matches for any numbers present, while using capital D returns 0 matches for anything but a number.', 'The demonstration of using curly braces to specify a specific digit, such as typing in five, resulting in finding one match in the given context.', "The provided example demonstrates the use of the findall function in Python's re module to search for digits within the specified range and accurately returns the count of matches as three.", 'The chapter discusses basic operations using regular expressions.', 'Introduces various applications of regular expressions in solving problems.', 'Elicits audience interest and participation in the topic.']}, {'end': 2460.939, 'segs': [{'end': 2028.31, 'src': 'embed', 'start': 1949.718, 'weight': 3, 'content': [{'end': 1953.5, 'text': 'All right, so we have a first problem in which we need to verify the phone numbers.', 'start': 1949.718, 'duration': 3.782}, {'end': 1961.185, 'text': 'So we have a list of phone numbers and the general format of a phone number is it should start with three digits, then a hyphen sign,', 'start': 1954.121, 'duration': 7.064}, {'end': 1966.454, 'text': 'then three middle digits and the three digits in between and assign, and then four digits in the end.', 'start': 1961.185, 'duration': 5.269}, {'end': 1968.875, 'text': 'So this is what a basic format of a number is.', 'start': 1966.474, 'duration': 2.401}, {'end': 1974.856, 'text': 'So let us go back to our PyCharm and verify these numbers with the help of regular expressions.', 'start': 1969.555, 'duration': 5.301}, {'end': 1977.397, 'text': 'Let me remove all this.', 'start': 1976.377, 'duration': 1.02}, {'end': 1984.119, 'text': 'So before I start writing down the code, let me explain you something.', 'start': 1980.798, 'duration': 3.321}, {'end': 1987.08, 'text': 'So we have backslash W.', 'start': 1984.399, 'duration': 2.681}, {'end': 1999.535, 'text': 'So basically what it does is, it is same as writing down lowercase A to Z, uppercase A to Z, even numbers, and underscore.', 'start': 1987.08, 'duration': 12.455}, {'end': 2004.456, 'text': "So lowercase W is actually equal to this thing that I've typed here.", 'start': 2000.095, 'duration': 4.361}, {'end': 2008.757, 'text': 'So it will match anything that is inside the brackets.', 'start': 2005.436, 'duration': 3.321}, {'end': 2016.119, 'text': 'When we talk about uppercase backslash W, it will match anything but the things inside the braces.', 'start': 2009.357, 'duration': 6.762}, {'end': 2020.34, 'text': "So it is similar to using a caret inside the brace, so I'll just show you.", 'start': 2016.559, 'duration': 3.781}, {'end': 2028.31, 'text': "So it'll match everything but the things that are present inside the braces.", 'start': 2024.847, 'duration': 3.463}], 'summary': 'Verifying phone numbers using regular expressions in pycharm with explanation on backslash w and uppercase backslash w', 'duration': 78.592, 'max_score': 1949.718, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1949718.jpg'}, {'end': 2101.017, 'src': 'embed', 'start': 2065.596, 'weight': 2, 'content': [{'end': 2075.737, 'text': 'then again anything that has three digits, then again a hyphen sign and anything that has four digits.', 'start': 2065.596, 'duration': 10.141}, {'end': 2080.739, 'text': 'Give a colon.', 'start': 2080.099, 'duration': 0.64}, {'end': 2085.513, 'text': 'Go on and print, it is a phone number.', 'start': 2082.351, 'duration': 3.162}, {'end': 2093.715, 'text': 'Now basically instead of backslash W, I can even use as backslash D because all of these are digits.', 'start': 2088.033, 'duration': 5.682}, {'end': 2098.556, 'text': 'But let me just keep it as backslash W only and go on and print this.', 'start': 2094.175, 'duration': 4.381}, {'end': 2101.017, 'text': 'So yup, it is a phone number.', 'start': 2099.476, 'duration': 1.541}], 'summary': 'The transcript identifies a phone number pattern using regular expressions.', 'duration': 35.421, 'max_score': 2065.596, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE2065596.jpg'}, {'end': 2197.189, 'src': 'heatmap', 'start': 2149.159, 'weight': 1, 'content': [{'end': 2155.763, 'text': 'So if you want to see that a full name is a valid full name or not, so what you can do is you can use backslash W at that time.', 'start': 2149.159, 'duration': 6.604}, {'end': 2161.266, 'text': "So basically why I've explained you backslash W is this is how you can use backslash W.", 'start': 2156.343, 'duration': 4.923}, {'end': 2163.288, 'text': "All right, I'll give you one more example.", 'start': 2161.266, 'duration': 2.022}, {'end': 2165.269, 'text': 'So now let me remove all of this.', 'start': 2163.308, 'duration': 1.961}, {'end': 2169.759, 'text': "And now we'll see if the full name is valid or not.", 'start': 2166.897, 'duration': 2.862}, {'end': 2172.921, 'text': 'Basically there should be a space between first and last name.', 'start': 2170.259, 'duration': 2.662}, {'end': 2184.109, 'text': "So for that I'm going to use a backslash S, which is same as writing down, backslash F, that is form feed, or a backslash N, that is a new line,", 'start': 2173.562, 'duration': 10.547}, {'end': 2195.968, 'text': 'or a backslash R, that is a carriage return, or a backslash T, that is tab or vertical tabs.', 'start': 2184.109, 'duration': 11.859}, {'end': 2197.189, 'text': 'so it is pretty much similar to that.', 'start': 2195.968, 'duration': 1.221}], 'summary': 'Using backslash w and backslash s to validate full names.', 'duration': 48.03, 'max_score': 2149.159, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE2149159.jpg'}, {'end': 2460.939, 'src': 'heatmap', 'start': 2384.777, 'weight': 0, 'content': [{'end': 2391.161, 'text': 'com, AdderitSEO.com.', 'start': 2384.777, 'duration': 6.384}, {'end': 2399.545, 'text': 'Now I can have one more and I can name it as DCAdderit.com.', 'start': 2392.201, 'duration': 7.344}, {'end': 2403.047, 'text': 'Let me just remove the space.', 'start': 2401.726, 'duration': 1.321}, {'end': 2404.548, 'text': 'All right.', 'start': 2404.208, 'duration': 0.34}, {'end': 2413.493, 'text': "So now what I'll type in, I'll type in print email matches, give a colon.", 'start': 2405.388, 'duration': 8.105}, {'end': 2427.524, 'text': "And after the space I'm going to type in length re.findall, open the parentheses and over there in the square braces what I want.", 'start': 2414.338, 'duration': 13.186}, {'end': 2430.946, 'text': 'first I want anything, then I want a period.', 'start': 2427.524, 'duration': 3.422}, {'end': 2438.129, 'text': 'I want underscore percentage plus hyphen.', 'start': 2430.946, 'duration': 7.183}, {'end': 2438.85, 'text': 'close the braces.', 'start': 2438.129, 'duration': 0.721}, {'end': 2444.651, 'text': 'And it should range between, say, one to 20.', 'start': 2439.63, 'duration': 5.021}, {'end': 2446.592, 'text': 'After that, what I want, I want add the rate.', 'start': 2444.651, 'duration': 1.941}, {'end': 2448.353, 'text': 'After add the rate.', 'start': 2447.452, 'duration': 0.901}, {'end': 2453.055, 'text': "I want anything, so for that I'll type backslash W dot.", 'start': 2448.353, 'duration': 4.702}, {'end': 2453.836, 'text': 'that is period.', 'start': 2453.055, 'duration': 0.781}, {'end': 2457.538, 'text': 'then I want a hyphen and what should be the range?', 'start': 2453.836, 'duration': 3.702}, {'end': 2460.939, 'text': 'It should be between two to 20 characters.', 'start': 2457.638, 'duration': 3.301}], 'summary': 'Using regular expressions to find email matches with specific patterns and lengths.', 'duration': 46.169, 'max_score': 2384.777, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE2384777.jpg'}], 'start': 1949.718, 'title': 'Validating phone numbers, full names, and email addresses', 'summary': 'Discusses the process of verifying phone numbers, full names, and email addresses using regular expressions, detailing the format of a phone number and explaining how to use regular expressions to match specific patterns. it also provides practical insights and use cases for each with examples showcasing the use of backslash w, backslash s, and backslash d.', 'chapters': [{'end': 2028.31, 'start': 1949.718, 'title': 'Verify phone numbers using regular expressions', 'summary': 'Discusses the process of verifying phone numbers using regular expressions, detailing the format of a phone number and explaining how to use regular expressions to match specific patterns, along with the concept of backslash w and its functionality.', 'duration': 78.592, 'highlights': ['The chapter discusses the process of verifying phone numbers using regular expressions, detailing the format of a phone number and explaining how to use regular expressions to match specific patterns, along with the concept of backslash W and its functionality.', 'The general format of a phone number is three digits, a hyphen, three middle digits, another hyphen, and four digits at the end.', 'The backslash W in regular expressions is equivalent to matching lowercase A to Z, uppercase A to Z, even numbers, and underscore, while the uppercase backslash W will match anything but the specified characters inside the braces.']}, {'end': 2460.939, 'start': 2029.171, 'title': 'Validating phone numbers, full names, and email addresses', 'summary': 'Demonstrates how to validate phone numbers, full names, and email addresses using regular expressions, with examples showcasing the use of backslash w, backslash s, and backslash d, and provides practical insights and use cases for each.', 'duration': 431.768, 'highlights': ['The chapter explains how to validate phone numbers using regular expressions, specifying the pattern for three digits followed by a hyphen, another three digits and a hyphen, and finally four digits, and demonstrates the use of backslash W and backslash D for digit matching, with practical examples. Validation of phone numbers using regular expressions, pattern for three digits, hyphen, and four digits, use of backslash W and backslash D, practical examples', 'The chapter illustrates the use of backslash W to validate full names, demonstrating the pattern for a valid full name with a space between the first and last name, and provides a practical example with the range of characters for first and last names, and validates a sample full name. Validation of full names using backslash W, pattern for valid full name, range of characters for first and last names, practical example', 'The chapter provides an example of validating email addresses using regular expressions, specifying the pattern for valid email addresses with specific constraints on the range of characters for local and domain parts, and demonstrates the practical implementation with a list of example email addresses and the use of re.findall to count the matches. Validation of email addresses using regular expressions, pattern for valid email addresses, constraints on local and domain parts, practical implementation with example email addresses']}], 'duration': 511.221, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE1949718.jpg', 'highlights': ['The chapter provides an example of validating email addresses using regular expressions, specifying the pattern for valid email addresses with specific constraints on the range of characters for local and domain parts, and demonstrates the practical implementation with a list of example email addresses and the use of re.findall to count the matches.', 'The chapter illustrates the use of backslash W to validate full names, demonstrating the pattern for a valid full name with a space between the first and last name, and provides a practical example with the range of characters for first and last names, and validates a sample full name.', 'The chapter explains how to validate phone numbers using regular expressions, specifying the pattern for three digits followed by a hyphen, another three digits and a hyphen, and finally four digits, and demonstrates the use of backslash W and backslash D for digit matching, with practical examples.', 'The general format of a phone number is three digits, a hyphen, three middle digits, another hyphen, and four digits at the end.', 'The backslash W in regular expressions is equivalent to matching lowercase A to Z, uppercase A to Z, even numbers, and underscore, while the uppercase backslash W will match anything but the specified characters inside the braces.', 'The chapter discusses the process of verifying phone numbers using regular expressions, detailing the format of a phone number and explaining how to use regular expressions to match specific patterns, along with the concept of backslash W and its functionality.']}, {'end': 2727.958, 'segs': [{'end': 2673.876, 'src': 'embed', 'start': 2645.454, 'weight': 1, 'content': [{'end': 2648.877, 'text': 'Then save it in HTML, STR, and then finally print it.', 'start': 2645.454, 'duration': 3.423}, {'end': 2652.16, 'text': 'Now let us go ahead and execute this and see what happens.', 'start': 2649.518, 'duration': 2.642}, {'end': 2656.444, 'text': 'So we have scraped all the phone numbers that were there.', 'start': 2654.422, 'duration': 2.022}, {'end': 2660.75, 'text': 'This is how it looks like, and we made use of regular expressions.', 'start': 2657.369, 'duration': 3.381}, {'end': 2664.012, 'text': 'So you can use regular expressions for web scraping as well.', 'start': 2661.071, 'duration': 2.941}, {'end': 2666.653, 'text': "Fine guys, this is it for today's session.", 'start': 2664.612, 'duration': 2.041}, {'end': 2670.815, 'text': "If you have any questions, any doubts, you can write it down in your chat box, I'll be happy to help you.", 'start': 2666.753, 'duration': 4.062}, {'end': 2673.876, 'text': 'All right, Janice says, amazing session.', 'start': 2672.475, 'duration': 1.401}], 'summary': 'Scraped phone numbers using regular expressions for web scraping.', 'duration': 28.422, 'max_score': 2645.454, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE2645454.jpg'}, {'end': 2712.989, 'src': 'embed', 'start': 2683.922, 'weight': 0, 'content': [{'end': 2687.443, 'text': 'So first we understood why we need regular expressions and what exactly it is.', 'start': 2683.922, 'duration': 3.521}, {'end': 2694.745, 'text': 'Then we focused on various operations of regular expressions and then we focus on three applications of regular expressions,', 'start': 2687.983, 'duration': 6.762}, {'end': 2698.606, 'text': 'starting with email verification, phone number verification and web scraping.', 'start': 2694.745, 'duration': 3.861}, {'end': 2703.147, 'text': "So till now any questions guys I'm again repeating any questions you can write it down in your chat box.", 'start': 2698.786, 'duration': 4.361}, {'end': 2705.907, 'text': 'Fine So we have no questions.', 'start': 2704.487, 'duration': 1.42}, {'end': 2707.528, 'text': 'So this video will be uploaded into your elements.', 'start': 2705.947, 'duration': 1.581}, {'end': 2712.989, 'text': 'You can go through it if you have any questions or doubts you can bring it at the next class or you can ask our 24 7 support team as well.', 'start': 2707.568, 'duration': 5.421}], 'summary': 'Regular expressions covered with applications like email & phone verification, web scraping.', 'duration': 29.067, 'max_score': 2683.922, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE2683922.jpg'}], 'start': 2461.8, 'title': 'Python regular expressions for web scraping', 'summary': 'Illustrates the use of python regular expressions to match email addresses and perform web scraping, emphasizing the process of scraping phone numbers from a website and the importance of regular expressions in web scraping.', 'chapters': [{'end': 2727.958, 'start': 2461.8, 'title': 'Python regular expressions for web scraping', 'summary': 'Illustrates how to use python regular expressions to match email addresses and perform web scraping, highlighting the process of scraping phone numbers from a website and emphasizing the importance of regular expressions in web scraping.', 'duration': 266.158, 'highlights': ['The chapter illustrates how to use Python regular expressions to match email addresses and perform web scraping The chapter covers the application of Python regular expressions for matching email addresses and performing web scraping, demonstrating the versatility of regular expressions.', 'The process of scraping phone numbers from a website is explained The process of scraping phone numbers from a website is detailed, emphasizing the pattern of phone numbers and the use of regular expressions to extract specific information.', 'Emphasizing the importance of regular expressions in web scraping The importance of regular expressions in web scraping is highlighted, showcasing their crucial role in accurately extracting specific content like phone numbers from websites.']}], 'duration': 266.158, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/zN8rwVXwRUE/pics/zN8rwVXwRUE2461800.jpg', 'highlights': ['The chapter covers the application of Python regular expressions for matching email addresses and performing web scraping, demonstrating the versatility of regular expressions.', 'The process of scraping phone numbers from a website is detailed, emphasizing the pattern of phone numbers and the use of regular expressions to extract specific information.', 'The importance of regular expressions in web scraping is highlighted, showcasing their crucial role in accurately extracting specific content like phone numbers from websites.']}], 'highlights': ["Regular expressions can be utilized to update area codes in a student database, such as changing 'five nine double zero six' to 'five nine zero seven six'.", 'Regular expressions can be used to find and replace area codes in a student database, saving time and effort, and allowing for efficient data manipulation.', 'Regular expressions are used for describing search patterns, searching specific strings in large datasets, verifying string formats, replacing strings, and formatting data for import, showcasing their diverse applications in data manipulation.', 'The chapter emphasizes the importance of identifying the correct pattern for the given string, highlighting that names start with an uppercase letter and ages are represented by integer numbers, and discusses the use of regular expressions to extract the desired information.', 'The chapter demonstrates using regular expressions in Python to extract names and ages from a string, showcasing example syntax and operations for achieving this.', 'The chapter covers the basics of regular expressions, including cursor operations, pattern matching, and finding words in a string.', "The chapter demonstrates using regular expressions to find the word 'inform' in a given string, showcasing the usage of re.search and re.findall methods, where the word 'inform' is found twice in the string 'we need to inform him with the latest information'.", "The author explains the usage of re.search to find a specific word in a string and prints 'there is inform' after finding it, providing a clear example of a conditional search.", "The author showcases the usage of re.findall method to find all occurrences of the word 'inform' in the given string, and successfully prints the word twice, demonstrating the functionality of the method.", 'The regular expression is used to find digits within a specific range, such as 5 to 7, and it successfully finds three matches in the provided example.', 'The chapter provides an example of validating email addresses using regular expressions, specifying the pattern for valid email addresses with specific constraints on the range of characters for local and domain parts, and demonstrates the practical implementation with a list of example email addresses and the use of re.findall to count the matches.', 'The chapter covers the application of Python regular expressions for matching email addresses and performing web scraping, demonstrating the versatility of regular expressions.', 'The process of scraping phone numbers from a website is detailed, emphasizing the pattern of phone numbers and the use of regular expressions to extract specific information.']}