5.8. REGEXP_EXTRACT() in Looker Studio

5_page-0008.jpg

In the previous lesson we discussed the REPLACE and REGEX_REPLACE functions. REGEXP_EXTRACT() is another function that enables us to extract characters from a string and tries to match the regular expression pattern we define.

This RegEx function is helpful when we want to report different categories which are not innately available on our dataset.

<aside> <img src="/icons/arrow-down-basic_blue.svg" alt="/icons/arrow-down-basic_blue.svg" width="40px" />

<aside> <img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/f198202f-2d4c-4dd4-a450-58f6e3fb7a8b/abeb72bd-829f-44e6-b083-7e6fac3db8c7/icon-primary.svg" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/f198202f-2d4c-4dd4-a450-58f6e3fb7a8b/abeb72bd-829f-44e6-b083-7e6fac3db8c7/icon-primary.svg" width="40px" /> Enroll in Looker Studio Masterclass

</aside>

📩 Receive my weekly Looker Studio tips

🖇 Connect with me on LinkedIn

</aside>