# Extracting digits from a string in DataWeave 2.0 using flatten, scan, joinBy. Under 30 seconds!

> Extract just the digits from a string in DataWeave 2.0 by combining flatten, scan, and joinBy — in under 30 seconds.

- **Watch:** https://www.youtube.com/watch?v=db90-xE4fgU
- **Page:** https://prostdev.com/video/extracting-digits-string-dataweave-flatten-scan-joinby
- **Series:** Getting to the point

## About this video

Extract just the digits from a string in DataWeave 2.0 by combining flatten, scan, and joinBy — in under 30 seconds.

## Transcript

_Transcript not yet available. Auto-generated captions are available on YouTube._