In this regular expressions (regex) tutorial, we’re going to be learning how to match patterns of text. Regular expressions are extremely useful for matching common patterns of text such as email addresses, phone numbers, URLs, etc. Almost every programming language has a regular expression library, so learning regular expressions with not only help you with finding patterns in your text editors, but also you’ll be able to use these programming libraries to search for patterns programmatically as well. Let’s get started…
The code from this video can be found at:
Python Regex Tutorial:
✅ Support My Channel Through Patreon:
✅ Become a Channel Member:
✅ One-Time Contribution Through PayPal:
✅ Cryptocurrency Donations:
Bitcoin Wallet – 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet – 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet – MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot
✅ Corey’s Public Amazon Wishlist
✅ Equipment I Use and Books I Recommend:
▶️ You Can Find Me On:
My Website –
My Second Channel –
Facebook –
Twitter –
Instagram –
Nguồn: https://androidsvn.com
Xem thêm bài viết khác: https://androidsvn.com/lap-trinh-php/
Xem thêm Bài Viết:
- Tự học Linux – LPI 1 [Part 1/4] – Tổng quan về Linux và các lệnh cơ bản
- Lập trình viên – Học lập trình web ra làm gì? Cách kiếm tiền từ nghề lập trình web bạn cần biết
- BÀI BÁO BỊ XÓA: Cháy nhà máy Rạng Đông hậu quả tương đương 1 quả bom nguyên tử
- #8 Lộ diện cao nhân cảm âm "nghe tiếng đàn định giới tính" | SIÊU TRÍ TUỆ VIỆT NAM
- Login system using PHP with MYSQL database
Great job! Thanks about that tutorial you really helped me with my college project!
how did you get that highlighting in Atom editor? for me it is just continues block
Hi, I have a question regarding the Group thing on the last part. for some reason when i do it on my Jupyternotebook it didn't work and only shows Group 3: $3 instead of the one like yours. is there something i can do about it or maybe its just the update that happened to it?
Awesome tutorial
Can’t thank you enough
OMG. I am just 11 minutes into this tutorial and I have already found a solution to my problem…But I am just going to watch the rest of the video.😂
Big Thanks for you such a Nice explanation 🙂
best Regex tutorial on youtube , no shit.
what if the text to be searched can be anything the user enters… Example: A user enters: XX123 that is set to a variable called search, so search = "XX123", how do I add that search into a regex expression? Not that particular XXX123 but anything that is set to search?
super amazing video tutorial! Thank you very much 🙂
Perfect intro. Thank you!
We owe u Corey Schafer…!!!
This was the video that made Regex go from “I hate Regex” to, “I like Regex!”
Still working on my Regex skills but I feel confident of solving scenarios to a high standard now.
which interface that he use which indicate the valid expressions on the screen?
This is an excellent tutorial on the basics of regex ! I don't usually comment on YT videos unless I find a really solid tutorial. This is one of those rare cases. Thank you for explaining it, breaking it down and demystifying regex.
Someone can help me quick please ?
You see the digits your provided for example 879-875-562 , how i do to only display or match 879875562 like this without the (-) in the middle. Thanks
Thank You so much
I have been struggling with regex for over a year, and things finally started to click with this video. How would I match pattern of text for lines that do not have similarities? For instance:
"weekly
rotate 13
create
dateext
compress"
I am trying to write my regex to capture all of this, but I am not sure how to write it out.
Very very helpful thank you
Experimenting with ad networks is really important for publishers! I increased my income by 22% by just using MonadPlug ad network – a network I was not aware of until recently! I recommend to everyone!
Outstanding tutorial. Thanks for your effort
Hi Corey, very informative video. my requirement is>> Country code:<IN> or Country code:<[Not Available] > , if country code there then i want to capture, if not there i don't want to capture anything means i need blank as Matcher.Find() value. Can you please help on this.
you are awesome
Please put the advanced version of this video 😀 Loved it!
Fantastic tutorial!
Thank you very much, this was so helpful
This is clearly the best RegEx video that someone has done in the history of man kind
Damn Man am Loving You <3 perfect Tutor in the world i don't know how you get ideas to teach so easily . Love
great tutorial! thank you!
Excellent tutorial with clear explanations. 😊
Great introduction video! Thank you for sharing. I was wondering what's the editor you used and how you connected to google drive?
Love your teaching!
how to get inside square bracket value ex: a='[TE-7665] regular expression' i wantto get only square bracket value
Hi bro.
I don't quite understand what to do if I want to match a URL that has a certain word after the top-level domain.
For example the word "list"
All websites of testurl.com should not match but if the URL would be testurl.com/jds99=listplk32 my regex in my pi hole should block the page.
I want to prevent that Youtube Playlist can not be opened in the network.