Learn Regular Expressions (Regex) - Crash Course for Beginners

Learn Regular Expressions (Regex) - Crash Course for Beginners

In this Regex tutorial, you will learn how to use regular expressions in JavaScript. You will be able to apply the concepts to any programming language. Regular expressions (or Regex) are patterns used to match character combinations in strings

Learn Regular Expressions (Regex) - Crash Course for Beginners

You can learn the basics of regular expressions for free in this complete crash course. It focuses on using regex in JavaScript, but the principles apply in many other programming languages you might choose to use.

Contents

⌨️ (01:04) Using the Test Method ⌨️ (02:15) Match Literal Strings ⌨️ (02:57) Match a Literal String with Different Possibilities ⌨️ (03:46) Ignore Case While Matching ⌨️ (04:45) Extract Matches ⌨️ (05:32) Find More Than the First Match ⌨️ (07:16) Match Anything with Wildcard Period ⌨️ (08:54) Match Single Character with Multiple Possibilities ⌨️ (10:14) Match Letters of the Alphabet ⌨️ (10:04) Match Numbers and Letters of the Alphabet ⌨️ (12:15) Match Single Characters Not Specified ⌨️ (13:32) Match Characters that Occur One or More Times ⌨️ (14:19) Match Characters that Occur Zero or More Times ⌨️ (15:32) Find Characters with Lazy Matching ⌨️ (18:54) Find One or More Criminals in a Hunt ⌨️ (19:58) Match Beginning String Patterns ⌨️ (20:53) Match Ending String Patterns ⌨️ (21:40) Match All Letters and Numbers ⌨️ (22:48) Match Everything But Letters and Numbers ⌨️ (23:35) Match All Numbers ⌨️ (24:04) Match All Non-Numbers ⌨️ (24:40) Restrict Possible Usernames ⌨️ (27:29) Match Whitespace ⌨️ (27:56) Match Non-Whitespace Characters ⌨️ (28:25) Specify Upper and Lower Number of Matches ⌨️ (29:40) Specify Only the Lower Number of Matches ⌨️ (30:10) Specify Exact Number of Matches ⌨️ (30:47) Check for All or None ⌨️ (31:38) Positive and Negative Lookahead ⌨️ (35:09) Reuse Patterns Using Capture Groups ⌨️ (40:18) Use Capture Groups to Search and Replace ⌨️ (43:18) Remove Whitespace from Start and End

regex javascript web-development

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Hire Web Developer

Looking for an attractive & user-friendly web developer? HourlyDeveloper.io, a leading web, and mobile app development company, offers web developers for hire through flexible engagement models. You can **[Hire Web...

Why Web Development is Important for your Business

With the rapid development in technology, the old ways to do business have changed completely. A lot more advanced and developed ways are ...

Important Reasons to Hire a Professional Web Development Company

    You name the business and I will tell you how web development can help you promote your business. If it is a startup or you seeking some...

Hire Dedicated eCommerce Web Developers | Top eCommerce Web Designers

Build your eCommerce project by hiring our expert eCommerce Website developers. Our Dedicated Web Designers develop powerful & robust website in a short span of time.

How long does it take to develop/build an app?

This article covers A-Z about the mobile and web app development process and answers your question on how long does it take to develop/build an app.