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.

Build modern and responsive webpages

High Performance Web Sites

Build modern and responsive webpages Try Front-end

Want your web site to display more quickly? This book presents 14 specific rules that will cut 25% to 50% off response time when users request a page. Author Steve Souders, in his job as Chief Performance Yahoo!, collected these best practices while optimizing some of the most-visited pages on the Web.

$ Check price
29.9929.99Amazon 4.5 logo(63+ reviews)

More Front-end resources

Ace your Technical Interview

Introduction to Algorithms

Ace your Technical Interview Try Algorithms

Introduction to Algorithms uniquely combines rigor and comprehensiveness. The book covers a broad range of algorithms in depth, yet makes their design and analysis accessible to all levels of readers. The algorithms are described in English and in a pseudocode designed to be readable by anyone who has done a little programming.

$ Check price
9999Amazon 4.5 logo(418+ reviews)

More Algorithms resources

Ad