Extract Anything Using RegEx – Bubble.io Tutorial

Published: 12 June 2024
on channel: No Code Academy
1,022
34

💪🏆📚 FREE 7 DAY LEARN BUBBLE CHALLENGE https://www.nocodeacademy.co/offers/r... 📚🏆💪

In this video we explore two examples of extracting text using RegEx in Bubble.io. If you've never seen regex in action, this video will show you everything you need to know.

Chapters:

00:00 - Extracting Data from Text with Regex
02:22 - Extracting URLs in Bubble
03:03 - Transforming Data with Reject Expression
04:49 - Exploring List Manipulation in Code
06:45 - Exploring URL Handling with State Setter
07:55 - Scraping Specific Websites with Precision

📋📋📋 Common Regex Patterns to Copy + Paste 📋📋📋

(1) Email addresses
Pattern: \b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b

(2) URLs
Pattern: https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)

(3) Phone numbers
Pattern (US format): \b\d{3}[-.]?\d{3}[-.]?\d{4}\b

(4) Dates
Pattern (MM/DD/YYYY): \b\d{1,2}\/\d{1,2}\/\d{4}\b

(5) IP addresses
Pattern: \b(?:\d{1,3}\.){3}\d{1,3}\b

(6) Hashtags
Pattern: \B#\w+

(7) Mentions (@username)
Pattern: \B@\w+

(8) Zip codes (postal codes)
Pattern (US format): \b\d{5}(?:-\d{4})?\b

===========================
Limited Time 1-on-1 Consulting -
https://calendly.com/nocodeacademy/so...
===========================

✅ Subscribe to be notified when the more Bubble tutorial videos come out.

⏩ Follow along in a free Bubble.io account by signing up at https://bubble.io/?ref=io01awzc.

❓ Have questions? Want a consultation? Reach out at https://nocodeacademy.co.

➡️ Disclaimer - this page contains an affiliate link that gives a credit valid towards our monthly Bubble account fee but has no cash value beyond this. Should you decide a paid Bubble account is right for you, thank you in advance for your support.

Tags: regex bubble, regular expressions bubble.io, create regex


Watch video Extract Anything Using RegEx – Bubble.io Tutorial online without registration, duration hours minute second in high quality. This video was added by user No Code Academy 12 June 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,022 once and liked it 34 people.