The Joomla Training Cohort has been launched!

Please send any feedback or bug reports to [email protected] (opens new link)  

Regular Expressions are powerful tools to use in the building of a Joomla site. In this video, Peter van Westen of regularlabs.com gives us an excellent introduction to regular expressions. Keep watching after that for some great chat and hanging out with Peter and the others on the stream!

 

 
00:00:00 โ€“ Intro & Sponsors
00:00:58 โ€“ Meet Peter van Westen: Founder of Regular Labs
00:01:29 โ€“ Regular Labs History: From Mambo to NoNumber to Regular Labs
00:05:22 โ€“ What Are Regular Expressions? Regex Explained for Beginners
00:07:48 โ€“ regex101.com: Best Free Tool to Test Regular Expressions
00:10:07 โ€“ Regex Syntax: Dot, Backslash, Quantifiers, Groups & Ranges
00:17:22 โ€“ Regex Live Demo: HTML Cleanup & Tag Conversion in Joomla
00:40:52 โ€“ Regex: Whitespace, Non-Capturing Groups & Email Validation
00:50:30 โ€“ Guest: Liam from Nova Scotia | Regex Power User
00:51:54 โ€“ When to Use PHP Instead of Regex
00:52:50 โ€“ Liam's Joomla Story: 11 Years Managing a University Site
00:58:48 โ€“ Joomla Hosting: SiteGround & Auto-Updates via myJoomla.com
01:02:16 โ€“ Joomla Module Manager: URL Assignments, Conditional Content & ReReplacer
01:11:06 โ€“ Schedule Joomla Modules by Day of Week or Holiday
01:14:29 โ€“ Best Regular Labs Extensions: Cache Cleaner, DB Replacer, ReReplacer & Snippets
01:17:44 โ€“ From 3 Jobs to Full-Time Joomla Developer | Peter's Story
01:21:00 โ€“ Next Week: Joomla Site for Old Time Radio
01:22:00 โ€“ Wrap-Up: Thanks Peter, Subscribe & God Bless


Summary

1. Intro & Sponsors
Tim opens the stream, thanks the sponsors, and introduces special guest Peter van Westen, founder of Regular Labs.

2. Meet Peter van Westen: Founder of Regular Labs
Peter shares his Joomla journey, from the early Mambo days through NoNumber to what is now Regular Labs.

3. What Are Regular Expressions?
Peter explains regex as "search syntax on steroids" and introduces regex101.com as a live testing tool.

4. Regex Basics: Dot, Backslash, Greedy vs. Non-Greedy
The fundamentals are covered: dot matches anything, backslash escapes special characters, and greedy vs non-greedy matching controls how much is captured.

5. Quantifiers & Ranges
Peter demonstrates quantifiers including star (zero or more), plus (one or more), and curly brace ranges like {2,4} for exact repetition counts.

6. Groups, Optional Groups & OR Statements
Parentheses create capture groups, question mark makes groups optional, and the pipe symbol provides OR logic for matching alternatives.

7. Real Examples: Cleaning HTML & Converting Headings
Live demos show practical uses: removing alt tags from images, converting H2-H4 tags to H1 while preserving CSS classes, and cleaning 85 JavaScript events.

8. Capturing Groups & Whitespace
Peter explains how captured groups become $1, $2 for replacement, and how the whitespace character (\s) handles spaces and line breaks in searches.

9. Liam Joins the Stream
Liam from Nova Scotia joins the conversation, sharing his "I can do everything with regex" enthusiasm while also noting that sometimes PHP offers better solutions.

10. Peter's Must-Have Extensions & Wrap-Up
Peter highlights his essential Regular Labs tools: Cache Cleaner, DB Replacer, ReReplacer, Snippets, and Advanced Module Manager. The stream wraps with thanks, a preview of next week's guest, and a final blessing.


Please send any feedback or bug reports or queries to;

Contact Tim Davis โ–บ This email address is being protected from spambots. You need JavaScript enabled to view it.

Joomla Training Cohort โ–บ https://cybersalt.com/jtc

JTC has been launched and is now accepting members https://cybersalt.com/services/subscriptions
mySites.guru โ–บ https://mysites.guru
Backing Up Your Joomla Site with Akeeba โ–บhttps://www.youtube.com/watch?v=4Xu4o0g2-RY&t=0s
FOLLOW US ON X(TWITTER!) โ–บ https://x.com/basicjoomla
LIKE US ON FACEBOOK! โ–บ https://www.facebook.com/basicjoomla
SUBSCRIBE US ON YOUTUBE โ–บ//www.youtube.com/@Basicjoomla

#basicjoomla

#cybersalt


 

 


Interesting blog? Like it on Facebook, Post it or share this article on other bookmarking websites.

Written by:
Tim Davis is the founder and owner of Cybersalt.
Log in to comment

Add comment

Submit