Tag Archives: Regular Expressions

Java Video Tutorial 19

Java Regular ExpressionsIn this part of my Java Video Tutorial, I cover Java Regular Expressions. You use regular expressions when you want to search for data. You then use codes to define what that data looks like.

So, if you are looking for a 5 digit number, you could type \\d{5} and Java does the rest!

The code that follows the video will help you see how easy regular expressions are.

Continue reading Java Video Tutorial 19

JavaScript Video Tutorial Pt 6

Regex TutorialIn this part of the JavaScript Video tutorial I will introduce Regular Expressions. A large number of people have trouble with Regular Expressions. I think it is because the name is so confusing? They aren’t!

A Regular Expression is a series of codes used to describe a series of characters in a string.

They are used to search for a specific string of characters in another string.

Continue reading JavaScript Video Tutorial Pt 6

Web Design and Programming Pt 24

Regex TutorialIn todays Programming tutorial I show you how to grab information from a website using Regular Expressions in PHP. The information was particularly hard to get for the following reasons:

  • It was plain text
  • There were no tags to search for
  • Data I wanted was laid out in an unorganized way
  • I had to search for odd unicode characters like ½

I did it though using Regular Expressions and I’ll show you how.

Continue reading Web Design and Programming Pt 24

Web Design and Programming Pt 9 PHP Strings

StringsHere I show you how to use many string manipulation methods in PHP. Also, I finish showing you how to use regular expressions.

You should watch the previous 2 PHP Regular Expressions video tutorials before you continue on to this one. They are avaialable here PHP Regular Expressions & PHP Regular Expressions Pt 2

I specifically cover the following PHP Methods in this tutorial:

Regular Expressions Python Tutorial

Python PictureIn this video, I provide a bunch of examples on how to use Regular Expressions in Python. I show you how to search for numerous different types of data and output and manipulate that data.

I’ve provided all of the code after the video and if you have any questions, leave them in the comment section below.

In the next article, I’ll show you how to grab information from any web page and do what ever you want with that information.

Special Note: Click the HD and Full Screen buttons for the best view of the video.

Continue reading Regular Expressions Python Tutorial

Regex Tutorial Video Pt 2

Python How ToIn this tutorial, I continue teaching you how to use Regular Expressions. I specifically go over the numerous functions available in the Python programming language that you can use for searches.

I will explain how to:

  • Grab text from text files
  • Create Regular Expressions in Python
  • Search through strings or files for information
  • Manipulate the information, once you retrieve it

Continue reading Regex Tutorial Video Pt 2

Regex Tutorial Video

Regular ExpressionsHere is a Regex Tutorial Video that will get you Regular Expression Matching like a pro. You can think of this as a Regular Expression Reference that you can come back to whenever you need to brush up.

I cover all of the codes used in Regex and give ever more complex examples until you understand.

This is just Regex Tutorial video 1 in a long series of video’s. I’ll specifically cover how to use Regular Expressions in Python, in the next video. And, if you prefer reading this information, refer to this article Regular Expressions.

Continue reading Regex Tutorial Video

Regular Expressions

Regular ExpressionsMy goal in this article is to teach you everything you ever wanted to know about Regular Expressions. Regular Expressions are used to decide if a set of characters match what you are searching for. You use a series of codes to define what you are looking for.

Because these codes are so simple and look confusing when they are crammed together, people think Regular Expressions are too hard to use. My mission is to make them easy to use in this article and the next. Promise!

Continue reading Regular Expressions

Javascript Scripting Tutorial Part 3

Javascript Tutorial Regular Expressions, Form Validation and Event Handlers

Today I’m going to continue teaching you everything about Javascript. If you haven’t read my other Javascript tutorials they are available here:

You must read these tutorials before you have any hope of understanding the code that is coming. Like in the last tutorial I will teach you Javascript by walking you through a working script. As the title says above, this tutorial will focus on Regular Expressions, Form Validation and Event Handlers.

Regular Expressions

A Regular Expression is used to describe a series of characters, numbers and symbols. Regular expressions are used to verify that a visitor to your site entered a correct phone number or address. You would use a Regular Expression to state that the phone number: