Python Regular Expressions (RegEx) | Regular Expressions In Python | Python Tutorial | Simplilearn

preview_player
Показать описание
This Python regular expressions tutorial will help you understand what are regular expressions and symbols for writing regular expressions along with a demo on how to use these. Regular expressions are a set of characters that helps one identity strings of a specific pattern. The history of regular expressions came from a number of other languages. Now, let us get started and understand how to use the regular expressions along with a demo.

Below topics are explained in this Python regular expressions tutorial:
1. What are regular expressions? (00:15)
2. Symbols for writing regular expressions (01:41)
- $: Specifies that the match must occur at the end of the string
- []: Matches one out all characters within the brackets
- [^..]: Matches anyone characters except those not in the brackets
- .: Represent ss single occurrence of any character except newline
- ?: The preceding character is optional
- ^: Specifies that the match must start at the beginning of the string

#pythontutorial #pythonregex #pythonprogrammingforbeginners #pythontraining #pythontutorialforbeginners #numpypythontutorial #pythonsimplilearn #simplilearn

➡️ About Post Graduate Program In AI And Machine Learning

This AI ML course is designed to enhance your career in AI and ML by demystifying concepts like machine learning, deep learning, NLP, computer vision, reinforcement learning, and more. You'll also have access to 4 live sessions, led by industry experts, covering the latest advancements in AI such as generative modeling, ChatGPT, OpenAI, and chatbots.

✅ Key Features

- Post Graduate Program certificate and Alumni Association membership
- Exclusive hackathons and Ask me Anything sessions by IBM
- 3 Capstones and 25+ Projects with industry data sets from Twitter, Uber, Mercedes Benz, and many more
- Master Classes delivered by Purdue faculty and IBM experts
- Simplilearn's JobAssist helps you get noticed by top hiring companies
- Gain access to 4 live online sessions on latest AI trends such as ChatGPT, generative AI, explainable AI, and more
- Learn about the applications of ChatGPT, OpenAI, Dall-E, Midjourney & other prominent tools

✅ Skills Covered

- ChatGPT
- Generative AI
- Explainable AI
- Generative Modeling
- Statistics
- Python
- Supervised Learning
- Unsupervised Learning
- NLP
- Neural Networks
- Computer Vision
- And Many More…

🔥🔥 Interested in Attending Live Classes? Call Us: IN - 18002127688 / US - +18445327688
Рекомендации по теме
Комментарии
Автор

wow, very short and straightforward, easy to understand. Thank you very much.
However I have a question, What if I have 4 different strings, what is the best way to find match for lowercase, uppercase, or digits from each string? Looking forward to hear back from you soon, since it is my assignment for my class. Thanks

AngelaSMak
Автор

Really enjoyed the multiple examples! People often go fast at small doubt areas!

diparnaadhikary
Автор

@7:34 - says [^..] "matches any character except those _not_ in the brackets." Need to drop the 'not' or the 'except', since it matches any characters except those in the brackets, or matches all characters not in the brackets. @10:38 "...must contain at least one of these characters." No, it must start with exactly one of those characters. @16:15 "...going to replace anything that's not in the pattern with an empty set." Anything that _IS_ in the pattern gets replaces with the empty _string._

chrisw
Автор

Do you have any questions on this topic? Please share your feedback in the comment section below and we'll have our experts answer it for you. Thanks for watching the video. Cheers!

SimplilearnOfficial
Автор

Thanks for your response and it's very use full to beginner's ...!thanks lot your making nice and useful video's

sathishbabu
Автор

Nice explanation. Good job, please upload django, flask and API calls

sathishbabu
Автор

Plz add Django full course, previous course was not complete
slug
one to one field
one to many field
many to many field relationship

and async



is missing

shashanksharmadon
Автор

i want to convert: Bowmore 46 year old (distilled 1964), 42.9%
into : Bowmore 46 year old 42.9%
how to go for it i am facing trouble because of () and the srtring in it.
treating (string ) is very confsuing.
please help.

vishumudgal
Автор

hello Richard, can you help me on this one.
in the given text like this
"My name is person_name\n\n"
how can I escape in the regular expression the beginning " and the ending " as well as escape \n?

bhaskarbanepali
Автор

Regular expressions are great, who else uses for web scrapping?

CryptoAnimated