Regular Expressions in Python | Regular Expressions Python Tutorial

preview_player
Показать описание
Regular Expressions in Python. Regular Expressions Python Tutorial.
This video is a complete tutorial on Regular Expressions in Python. This is a full course on how to use Regular Expressions in python. Regular Expression is also referred to as REGEX. Using Regular Expression, we can search for a pattern of string in the given text.

Regular Expressions are a very powerful tool used to perform complex searches on a text. By specifying a pattern for the string, we need to search for, Regular Expressions can extract a string even if it is present in different format until and unless this string follows the same pattern as mentioned in the defined Regular Expressions pattern.

In this video, we go through the different steps to be followed to use Regular Expressions in python. We also explain the different character class, special characters and also all the Regular Expressions symbols or notations which can be used to define or create a pattern in Regular Expressions in python. We also write multiple python programs to create different patterns to match an email id, phone no and date values. Finally, we also cover the sub method in Regular Expression which can replace or substitute the matched string with a replacement string.

There are only 4 steps to be followed in order to use Regular Expressions in python:
1. Import re module which is the Regular Expressions module in python. All the functions and features required to perform regular expression search in python can be accessed by importing the re module.
2. Next steps is to create the Regular Expressions Pattern. Pattern is basically the format or structure of the string that we are trying to search. In Regular Expressions, we have several different character classes, symbols and special characters which will help us to identify every kind of characters or symbols hence making it possible to define a pattern to search of any type of string.
3. Once the pattern is defined, next step is to search for this pattern in the given text or data.
4. Finally, we extract all the matched string.

I hope this video was helpful and gives you a good understanding of regular expressions in python. If you liked what you saw, then please make sure to like, subscribe and comment any feedback you may have.
Also please do not hesitate to share the video with your friends and colleagues who may be interested in learning regular expression in python.

🔴 WATCH MORE VIDEOS HERE 👇

✅ SQL Tutorial - Basic concepts:

✅ SQL Tutorial - Intermediate concepts:

✅ SQL Tutorial - Advance concepts:

✅ Practice Solving Basic SQL Queries:

✅ Practice Solving Intermediate SQL Queries:

✅ Practice Solving Complex SQL Queries:

✅ Data Analytics Career guidance:

✅ SQL Course, SQL Training Platform Recommendations:

✅ Python Tutorial:

✅ Git and GitHub Tutorial:

✅ Data Analytics Projects:

THANK YOU,
Thoufiq
Комментарии
Автор

i do comment on you tube videos very rarely but this video made me so happy that i learned regular expression from biggner to advance .techTFQ has explained all the concept with numerical example and logic .it is the one of the best tutorial on regular expression on internet .Thank you sir may Allah bless you

S_sport
Автор

This is by far one of the best videos out there on Regular expression, very easy to follow...!!!

clintwoodcb
Автор

This tutorial is making Zero to Hero in regex concepts.... Awesome explanation with different examples.... THANK YOU SO MUCH techTFQ❤❤

vadderamn
Автор

You are a genius man.The video cleared all my doubts in regular expression.Very well presented

Dibya
Автор

Luckily came across. Belive me this channel is very very useful to learn. Clearly from basic to advance. Every day i watch 2 videos atleast to learn something. Thanks for all your efforts. Appreciate!

techgeekstudio
Автор

I really enjoy this lesson and can sit on my chair for almost 1h. Clear explanation and easy to follow. Thank you for the lesson! great job!

dennypermana
Автор

Video is great i was working in oracle for sometime and need to know regex at that time i thought regex is different in each language but only later i realised most of the cases it is almost same, now i found this very late, I have to admit thoufiq bro you are one of the good teacher i found in last 6 months you are doing really a great work each one of your video is crisp and i never wasted a single minute.Once again thanks bro

sathyamoorthy
Автор

Your way of teaching is very good. First you position yourself in the beginner's shoes and then you give solutions. You always think of how the beginner will try to approach a problem and you always say why one should or shouldnot approach the problem in a particular way. That's the best part. Please make video on hadoop with python for beginners. I think you can make us understand in simplistic way.

sachinsuman
Автор

This video takes top position for regex tutorials on YouTube. I wonder why it is so underated

magicmedia
Автор

very wonderful, super explanation.. Let me watch all of your videos.

jeevithaloknath
Автор

Beautifully explained Toufiq. Handsdown the best tutorial on Regex expression ✌️

theraizadatalks
Автор

Thank You, TechTQF. Lots of love from India!

nikhilfromyoutube
Автор

A minuscule mistake at 41:52, you are entering an escape character in the text. (Hi/?),
I don't think that is necessary, as the regular expression should be done at compile and not in the text we are working on.

But you have explained regular expressions so well that I could get clarity over the fundamentals
Your teaching is really awesome!!!
Kindly do a video, of when we should use re.match, re.findall and re.search & also how to export to excel. For example, in this video, if you have shown how to export to excel where it has 3 headings Dates, Email Id, Phone number and the extracted results should be populated under respective headings, it would helped us a lot. Thank you !

senthilramana
Автор

Best video of Regex in Youtube, no doubt!

shaown
Автор

thank u so much yar u cleared all my doubts in "RE'' i learnt a lot in this iam confident in u thank

spsowji
Автор

I enjoyed the session.
Liked and subscribed

sandipmaurya
Автор

Thank you very much sir for the knowledge

umarqayyum
Автор

It was a realy great session with very good examples.Thank you for your efforts.

rajeshsingh
Автор

Cleared the Whole Concept, Thank You, and Please Create Similar Videos for the DS community.

ganeshdevare
Автор

Dude!! Finaly I found your tutorial to understand the RegEx, thank you!

zubaydee