01. Introduction to Regular Expressions

What is Regex?

Regular Expressions (regex) are symbolic notations that are used to identify patterns in text.

What can I do with Regex?

Regex is useful for identifying strings, patterns of characters, words of particular interest. After your set of strings are found, you can either print it out, replace it, or perform other manipulative tasks.

Why should I learn Regex?

Knowing how to write and use regex provide the tools to quickly identify, count and manipulate strings of interest. Furthermore, regex gives you the flexibility as a programmer to apply tasks such as "find and replace" in a matter of milliseconds that would otherwise takes minutes to perform manually.

Looking to learn regex for the shell?

If you're looking to learn regular expressions for the shell or the Linux command line, head on over to our Command Line Regular Expressions tutorial page.

Learn how data is stored

Data Structures and Algorithms Made Easy

Learn how data is stored Try Data Structures

A handy guide of sorts for any computer science professional, Data Structures And Algorithms Made Easy in Java: Data Structure And Algorithmic Puzzles is a solution bank for various complex problems related to data structures and algorithms. It can be used as a reference manual by those readers in the computer science industry.

$ Check price
39.9939.99Amazon 4.5 logo(339+ reviews)

More Data Structures resources

Take your Linux skills to the next level!

The Linux Command Line

Take your Linux skills to the next level! Try Linux & UNIX

The Linux Command Line takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell. Along the way you'll learn the timeless skills handed down by generations of gray-bearded, mouse-shunning gurus: file navigation, environment configuration, command chaining, pattern matching with regular expressions, and more.

$ Check price
39.9539.95Amazon 4.5 logo(274+ reviews)

More Linux & UNIX resources

Ad