Using Regular Expressions – Introduction and Simple Use Case

Regular expressions are a way to define an advanced search pattern that can be very useful for manipulating text, among other things. They are used quite a bit in programming languages but in this case, I am showing how I use them in a text editor to manipulate text copied from a website into a clean list format. This isn’t so much a tutorial as it is a real world example of how you can use regular expressions to speed up your work. And I’ll admit – they are just fun to use!

Share this post

Twitter
LinkedIn
Reddit
Threads
Facebook
Email

Comments:

  1. I’ve been using regex since the old Perl days. One of the best things I’ve learned.

  2. RegEx is my nightmare, all help is appreciated thank you. Good video.

  3. There are many online resources to help you learn regex. The best one I’ve seen is the regex course on Linux Academy

    However, I do use this site frequently:

Join the discussion at forum.tuxdigital.com

Participants

Avatar for Ulfnic Avatar for EricAdams Avatar for Mr_McBride