• Home
  • Blog
  • Newsletter
  • Site Map

Best Online Short Courses

Self-paced and Tutor-led Online Education Suggestions:

Regular Expressions (Regex) – Video Tutorial

December 11, 2014

Regular-Expressions-Regex

A regular expression (regex or regexp) is a sequence of characters that forms a search pattern, mainly for use in pattern matching with strings, or string matching, like in “find and replace” operations.

The regular expressions are extremely useful in searching, replacing or extracting information from text such as code, log files, spreadsheets, or even documents.

1: Introduction to Regular Expressions

Here Derek Banas explains how Regular Expressions are used. He cover all of the codes and what they are used for. The goal is to teach you how to use regular expressions once and for all.

 

The RegEx Cheat Sheet

abc…Letters
123…Digits
\dany Digit
.any Character
\.Period
[abc]Only a, b, or c
[^abc]Not a, b, nor c
[a-z]Characters a to z
[0-9]Numbers 0 to 9
{m}m Repetitions
{m,n}m to n Repetitions
*Zero or more repetitions
+One or more repetitions
?Optional
\sany Whitespace
^…$Starts and ends
()capture Group
(a(bc))capture Sub group
(.*)capture Variable content
(a|b)Matchs a or b
\wany Alphanumeric character
\Wany Non-alphanumeric character
\dany Digit
\Dany Non-digit character
\sany Whitespace
\Sany Non-whitespace character

 

2: /Reg(exp){2}lained/: Demystifying Regular Expressions

Quick, what does this do: /(\/\*?\\/)|\/\/.*?(\r?\n|$)/g? If you’re like many developers, you just averted your eyes, and your heart is now in your throat. Symptoms included sweaty palms and recurring nightmares with blood-thirsty ASCII symbols. But don’t worry, this condition doesn’t have to be chronic. A cure is right around the corner.

As with many developers, you’re familiar with the power of regular expressions, but anything beyond the basics scares the crap out of you. Fear no more young padawan! In this talk, we’ll start with the basics and progressively enhance your knowledge until you’re coding regular expressions like a champ. Everything will be demonstrated live with visual examples that ensure maximum comprehension.

Load the interactive Web App

 

 

3: Regular Expressions in Python

In this videos Derek Banas shows how to use Regular Expressions in Python and provide many more examples how to search for numerous different types of data, output and manipulate that data.

 

 

4: Regular Expressions in Javascript

In this tutorial Derek Banas shows how to use Regular Expressions in Javascript to make form validation.

 

5: Regular Expressions in PHP

In this videos Derek Banas shows how to use Regular Expressions with PHP to find email addresses, phone numbers, valid passwords, and many more things.

Derek Banas also shows you how to grab disorganized information from a web page and also cover many other functions in PHP like: preg_match_all, fgets, strstr, preg_replace, and more.

 

 

 

Best Regular Expressions Book:

Instructors: Derek Banas and Lea Verou

Price: Free

Related

Similar Posts You May Like:

73%CS50 – Introduction to Computer Science I – A Free Course Become A Certified Web DeveloperBecome a Certified Web Developer Intensive Introduction to Computer Science – A Free Course person with tabletComplete Web Developer Course 2.0 JavaScript CodeLearn More About the Functionality of JavaScript, jQuery and AJAX – Free Course Ultimate Web Designer & Developer CourseLearn Everything from Design to Front & Back-End Programming The Top 5 Skills Computer Programmers Everywhere Need [Free Courses] computer scienceCS50x Introduction to Computer Science video gamesIntroduction to Games Development with HTML5 and JavaScript – Free Course Udemy Complete Web Developer CourseGet the Skills for a Career in Web Development with This Online Course

Filed Under: Javascript, PHP, Programming, Python, Web Tagged With: Free, JavaScript, PHP, Python, Regex, Regexp, Regular Expression

Search this Site

About This Site

This site provides information on self-paced and tutor-led online short courses - some of them are free, some are on special offer, and all are excellent value. Use the Search Box, the Main Topics drop-down box, or the Tag Page to find courses that interest you.

Main Topics

Tag Page

Complete List of Tags

Video Marketing Machine

Video Templates

*New customer offer! Top courses from $12.99 when you first visit Udemy.

*New customer offer! Top courses from $12.99 when you first visit Udemy.

*New customer offer! Top courses from $12.99 when you first visit Udemy. End Date: 03/31/2021.

Web Hosting Deal

Web Hosting

Get a Career in Computer Science

Coursera Purple CS Design 3

Programming Courses

Udemy Javascript course

Learn Advanced JavaScript With This Online Course

One of the top web development courses on Udemy is JavaScript: Understanding the Weird Parts. This advanced course is for modern developers who want and need to know JavaScript through and … [Read More...]

See More Courses in the Programming Category

Textbooks: Rent. Buy. Sell.

Check Your Grammar

The #1 Writing Tool

Free Trial to Create Awesome Videos

Content Samurai Free Trial

Lifetime Learning Access to Eduonix – Only A Few Places Left

Lifetime Access to Eduonix Courses

Amazon Offers

Amazon Prime Free Trial

Sign up for Free Weekly Newsletter

Best Online Courses Newsletter

Enter your email address below to receive a weekly summary with new learning suggestions.

Amazon Gift Ideas

Follow

RSS feed RSS - Posts

Important Links

Contact Us

Terms of Use

Privacy Policy

Best Degree Programs

Online and Distance Learning Degrees

Job Search

Job Search

Copyright © 2023  Best Online Short Courses