Regular Expressions - Find Characters with Lazy Matching - Free Code Camp

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I was able to solve it on my own but honestly i couldn't figure it out why, after your explanation it became clear to me :)

ianbergia
Автор

Thank you so much for this video! I was so stuck on this one...

espanol
Автор

Really helpful thank you! this section is really tricky

francescof
Автор

Thank you Mr. Ian!
let text = "<h1>Winter is coming</h1>";
let myRegex = /<.*?>/;
let result = text.match(myRegex);
console.log(result);
[ '<h1>',
index: 0,
input: '<h1>Winter is coming</h1>',
groups: undefined ]

zken
Автор

than you it was a pretty easy one to solve but i couldn't really figure out what was doing what and your video helped me realize how it works

tukula
Автор

the one that worked for me was <..> because I didn't know what it was asking for XD thanks for the video man, now I got it!

WackLantern
Автор

i cant understand why "c" in titanic wasnt pulled when it's [a-z]*

OscarLorenzoStaCruz
Автор

Is it correct use this expression? -> /<.?1>/
What is your advice?

camelalejandro
Автор

Is it correct use this expression? -> /<.?1>/

camelalejandro