Syntax - Tasty Web Development Treats cover image

JavaScript × STUMP’D

Syntax - Tasty Web Development Treats

How Do I Return All Matching Strings Against a Regular Expression?

3min Snip

00:00
Play full episode
With match all, the benefit of match all is that you don't need to pass a rejex at all. The regular, the rejes object must have the g flag sor rewined a. What is a thunk function? Thunk. That's what said, ye, thunk funk. Learn something new every day. I next question is 300 and forty seven. This question is, how do you return all matching strings against a regular expression? So if you wanted to find everything that matches the regular expression in a string, what method would you use? I i would use dot is. It does match. But you know what? I like west hat to day

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode