Тёмный

How to Write Regular Expressions Without Going Crazy (Beginners Tutorial) 

Data Slayer
Подписаться 218 тыс.
Просмотров 36 тыс.
50% 1

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@DataSlayerMedia
@DataSlayerMedia 3 года назад
Pop Quiz: What does this regex look for? \d-\d{3}-\d{3}-\d{4}
@sandeepagarwal7387
@sandeepagarwal7387 2 года назад
Phone Number with single-digit country-code (n-nnn-nnn-nnnn) or 1-800... or 1-888... kind of phone numbers
@cybersamurai99
@cybersamurai99 Год назад
d-ddd-ddd-dddd
@DevoutJourney
@DevoutJourney 5 месяцев назад
A digit followed by a dash followed by 3 digits followed by a dash followed by 3 digits followed by a dash followed by 4 digits A phone number with country code lol
@pixelrangerstudio86
@pixelrangerstudio86 Год назад
i watched COUNTLESS videos and read the entire internet... and after your video i FINALLY managed to comprehend and use regex!!! milion thanks!
@hiuller
@hiuller 2 года назад
Besides being very helpfull, great content and explanation, it is also very good to watch on a mobile phone! While some screen capturing tutorials are too small, you did an amazing job!
@DataSlayerMedia
@DataSlayerMedia 2 года назад
Appreciate that!
@berndeckenfels
@berndeckenfels 2 года назад
Don’t ever use a Regel to validate an email address without checking the standard or use a ready made validator
@supriyadara6075
@supriyadara6075 2 года назад
My requirement that regex should allow any local language characters, numbers and some special characters in angular
@ItihasMarg
@ItihasMarg Год назад
Hi can you please help me to create regex for password... Two condition--- 1) Password should contain at least one uppercase, lower case, digit, special char. 2) password should not have above items next to each other.. eg. P@sSword12$ This should not allow because wo and 12 are next to each other.. PlE3@s0 This should allow
@christernilsson1
@christernilsson1 Месяц назад
Really hard to see the hilighted characters.
@humanrightsadvocate
@humanrightsadvocate 2 месяца назад
It is pronounced REG X.
@MurrayMurrgo
@MurrayMurrgo Год назад
I want to learn how to insert a   where ever there is a space before or after a number. For example May 21 or 25 people on 13 boats. So add a   before and after 21,25 and 13.
@gizmovids
@gizmovids Год назад
Data Slayer: where do you prefer cash tips? via- the "thanks" button? If elsewhere, maybe tell us here? www.youtube.com/@DataSlayerMedia
@wilkobriele9313
@wilkobriele9313 Год назад
Thanks for that overview! I couldn't figure out how to solve the following problem: I have a string (sql command) containing questionmarks. (related to prepared statements) Now I want to find every questionmark, but not those which are part of a quoted substring. Example pseudo sql string: select "here is ? within quotation marks", 'here is ? within single quotation marks' from tablexxx where id = ? and col = ? limit ?,? In the upper line I don't want to get the first and the second questionmark, but the last 4 questionmarks. Do you have an idea to solve it? Thank you :)
@akya
@akya Год назад
great video and I understood mostly but how does one remember all of this lol...its like i forget it all till the next time i have to use regex
@curious5972
@curious5972 Год назад
Thank you ❤️🥺🙏. After 2 months of browsing i found this video . salute for sharing this level of knowledge about ragex 👌🤝
@TiffanyNg100
@TiffanyNg100 3 года назад
really useful and with real life practice
@DataSlayerMedia
@DataSlayerMedia 3 года назад
Thanks!
@alexgavril6875
@alexgavril6875 2 года назад
Let's say I have the example: 12345 If I type \d\d it does not detect 45. It only detects 12 23 34. Any idea why?
@DataSlayerMedia
@DataSlayerMedia 2 года назад
The pattern is explicitly looking for two sequential digits, the number of times it matches is dictated by whether or not the "g" or global flag is set. But \d\d is not proper, either do \d+ or \d* or \d{2}
@alexgavril6875
@alexgavril6875 2 года назад
@@DataSlayerMedia \d{2} not matching 45 either .....confused what's the logic behind this language...
@freizagen
@freizagen 2 года назад
@@alexgavril6875 Try this (\d\d)+$ and you will understand
@wilkobriele9313
@wilkobriele9313 Год назад
@@alexgavril6875 you are asking for 2 digits. It starts at the first place (that is 1) the following also is a digit, so you get 12. Now it starts with 3... you get 34. Now it starts with 5, but there is no following digit, it doesn't match again. That is how notepad++ handles it. Note: I don't get 23 as a match because the 2 belongs to the first match.
@QuotePilgrim
@QuotePilgrim 8 месяцев назад
Bro pretending lookbehinds aren't a thing lol.
@sifrk
@sifrk 2 года назад
Very comprehensive. Thank you!
@DataSlayerMedia
@DataSlayerMedia 2 года назад
Thank you!
@saj-softmakeiteasy9177
@saj-softmakeiteasy9177 Год назад
Hellow ''', i need some help on Autohotkey , how i can read line from text without adding line number. for example here tha ,, dat.txt i need to display on messagge Sure Name Value = fg using filereadline or RegExMatch Name ABCD Sure Name fg Place US
@caiodavi9829
@caiodavi9829 2 года назад
finally a video that actually teaches regex !! big thanks, mate!
@christofferds
@christofferds Год назад
The Best I’ve found so far. Thanks
@MethodOverRide
@MethodOverRide 2 года назад
Exactly what I was looking for!! 👌
@RevanthBysani
@RevanthBysani Год назад
Great examples and use cases. Well done!
@rahneshin752
@rahneshin752 11 месяцев назад
❤❤❤
@kebincui
@kebincui 17 часов назад
The best video on Regex👍❤. Thanks for sharing
Далее
Regular Expressions - Computerphile
17:19
Просмотров 243 тыс.
How Do Regular Expressions Really Work?
29:10
Просмотров 28 тыс.
Learn Regular Expressions In 20 Minutes
20:52
Просмотров 1,3 млн
It’s Been a Good Run, Phone Providers.
26:31
Просмотров 4,8 млн
Regular Expressions (Regex) Mini Bootcamp
46:03
Просмотров 24 тыс.