DEV Community

Regular Expressions

A regular expression (shortened as regex or regexp also referred to as regular expression) is a sequence of characters that specifies a search pattern.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Regex Cheatsheet

Regex Cheatsheet

Comments
2 min read
Using Regular Expressions (RegEx) for Validations in Rails

Using Regular Expressions (RegEx) for Validations in Rails

1
Comments
4 min read
Best regexp alternative for Go. Benchmarks. Plots.

Best regexp alternative for Go. Benchmarks. Plots.

3
Comments
11 min read
Parsing SemVer in Javascript with the official RegEx

Parsing SemVer in Javascript with the official RegEx

7
Comments
1 min read
Batch rename BigQuery tables with SQL

Batch rename BigQuery tables with SQL

6
Comments
3 min read
🔣 5 Best Platforms to Learn and Practise Regex

🔣 5 Best Platforms to Learn and Practise Regex

6
Comments
6 min read
Introduction and History of Regular Expression

Introduction and History of Regular Expression

3
Comments 3
3 min read
Search and Replace Wizardry with back referencing and capturing groups

Search and Replace Wizardry with back referencing and capturing groups

10
Comments
4 min read
Email DNS Validation: Securing your Customer-Facing Apps

Email DNS Validation: Securing your Customer-Facing Apps

2
Comments
3 min read
Learn basic regex from examples.

Learn basic regex from examples.

1
Comments
3 min read
Regular expressions and string manipulation in Python

Regular expressions and string manipulation in Python

8
Comments 2
3 min read
Username and Password Validation Using Regex

Username and Password Validation Using Regex

3
Comments 2
4 min read
Advanced Email Validation using ApyHub’s API in Go

Advanced Email Validation using ApyHub’s API in Go

2
Comments
4 min read
convert old('d') to $model->d in Laravel using regular expressions (RegEx)

convert old('d') to $model->d in Laravel using regular expressions (RegEx)

Comments
2 min read
Regular Expressions for Beginners 💡

Regular Expressions for Beginners 💡

Comments
6 min read
Unleashing the Power of JavaScript in Bubble.io Backend Workflows: A Case Study

Unleashing the Power of JavaScript in Bubble.io Backend Workflows: A Case Study

7
Comments
4 min read
A Quick Guide to Regular Expressions in Python

A Quick Guide to Regular Expressions in Python

3
Comments
3 min read
O que são Lookahead e Lookbehind em Expressões regulares

O que são Lookahead e Lookbehind em Expressões regulares

5
Comments
7 min read
Eliminate the Monotony: Automation with sed.

Eliminate the Monotony: Automation with sed.

4
Comments
3 min read
Capture Groups in Regular Expressions

Capture Groups in Regular Expressions

Comments
10 min read
Advanced Regex Techniques to Spice Up Your Text Processing

Advanced Regex Techniques to Spice Up Your Text Processing

Comments
2 min read
Introduction to Regular Expressions in Python

Introduction to Regular Expressions in Python

Comments
3 min read
Thinking in Regular Expressions

Thinking in Regular Expressions

6
Comments
5 min read
A Beginner's Guide to Regular Expressions in Ruby

A Beginner's Guide to Regular Expressions in Ruby

1
Comments
4 min read
Building an AI RegEx Editor with Retool, OpenAI, and CodeMirror

Building an AI RegEx Editor with Retool, OpenAI, and CodeMirror

2
Comments
6 min read
How to Regex in Javascript

How to Regex in Javascript

14
Comments
5 min read
Regular Expressions aka REGEX crash course

Regular Expressions aka REGEX crash course

6
Comments 3
4 min read
Enhancing User Input Validation: Ensuring Proper Decimal Formatting with Regular Expressions

Enhancing User Input Validation: Ensuring Proper Decimal Formatting with Regular Expressions

Comments
1 min read
URL REGEX

URL REGEX

Comments
11 min read
Golang: Regex

Golang: Regex

3
Comments
17 min read
Acronym exercise: splitting strings like a pro

Acronym exercise: splitting strings like a pro

1
Comments
3 min read
How to write Regex without writing regex

How to write Regex without writing regex

3
Comments
2 min read
What is Regex? JavaScript regular expressions in 5 minutes

What is Regex? JavaScript regular expressions in 5 minutes

1
Comments
6 min read
JavaScript Regex guide for for beginners.

JavaScript Regex guide for for beginners.

Comments
3 min read
How to use Regex with Python

How to use Regex with Python

Comments
3 min read
Regular Expressions—a Rite of Passage: Completing the Application

Regular Expressions—a Rite of Passage: Completing the Application

Comments
10 min read
Regular Expressions in SQLite

Regular Expressions in SQLite

Comments
2 min read
Learn the Basics of RegEx in JavaScript

Learn the Basics of RegEx in JavaScript

7
Comments 3
6 min read
Workflows: handling inbound email on Fastmail with regular expressions (now featuring ChatGPT)

Workflows: handling inbound email on Fastmail with regular expressions (now featuring ChatGPT)

2
Comments
6 min read
When JavaScript regex can surprise you - a silly bug story

When JavaScript regex can surprise you - a silly bug story

Comments
3 min read
what is regex expression

what is regex expression

1
Comments
3 min read
Regex Simplified: The Art of Pattern Matching with Regular Expressions

Regex Simplified: The Art of Pattern Matching with Regular Expressions

1
Comments
3 min read
Capturando dados com Regex

Capturando dados com Regex

1
Comments
3 min read
How to perform regex search queries over billions of strings

How to perform regex search queries over billions of strings

1
Comments
4 min read
Validando dados com Regex

Validando dados com Regex

2
Comments 1
7 min read
Regular Expressions—a Rite of Passage: From Theory to Practice

Regular Expressions—a Rite of Passage: From Theory to Practice

2
Comments
16 min read
Complete Guide To Make You a Regex Guru

Complete Guide To Make You a Regex Guru

65
Comments 5
20 min read
Persson's Pyramid Puzzle - Level 5

Persson's Pyramid Puzzle - Level 5

6
Comments
1 min read
RegExp Basics: It's Not That Hard!

RegExp Basics: It's Not That Hard!

3
Comments
3 min read
Regular Expressions—A Rite of Passage for Web Developers

Regular Expressions—A Rite of Passage for Web Developers

1
Comments
17 min read
Refactoring. RegExp.

Refactoring. RegExp.

1
Comments
2 min read
Regex #1: Understanding Regex, Regex-Based String Methods and Regex Flags

Regex #1: Understanding Regex, Regex-Based String Methods and Regex Flags

Comments
4 min read
How to Validate Password Strength Using Regex and JavaScript

How to Validate Password Strength Using Regex and JavaScript

17
Comments 3
4 min read
Python script to find broken links in word document

Python script to find broken links in word document

3
Comments
6 min read
Extract dynamic text using regex capturing group

Extract dynamic text using regex capturing group

3
Comments 1
1 min read
Validating email addresses using regular expressions in JavaScript

Validating email addresses using regular expressions in JavaScript

44
Comments 6
3 min read
How to Build a RegEx Engine in Python (Part 6: the engine)

How to Build a RegEx Engine in Python (Part 6: the engine)

3
Comments 1
4 min read
What Are Regular Expressions? A Simple JavaScript Regex to Format Phone Numbers

What Are Regular Expressions? A Simple JavaScript Regex to Format Phone Numbers

4
Comments
4 min read
Regex, dont be scared

Regex, dont be scared

4
Comments
2 min read
6 Use Cases for Regex in Your Daily Work

6 Use Cases for Regex in Your Daily Work

87
Comments 13
8 min read
loading...