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.
Re2j instead of default regEx in Java: when and how to use it

Re2j instead of default regEx in Java: when and how to use it

Reactions 3 Comments
6 min read
Verify password with a single regex

Verify password with a single regex

Reactions 8 Comments
3 min read
RegEx Validation: A Cheatsheet (most used)

RegEx Validation: A Cheatsheet (most used)

Reactions 34 Comments 2
3 min read
Write Regex Pattern for Password Validation Like a Pro

Write Regex Pattern for Password Validation Like a Pro

Reactions 54 Comments 7
3 min read
Using Regular Expressions(RegExp) in Dart/Flutter

Using Regular Expressions(RegExp) in Dart/Flutter

Reactions 8 Comments
14 min read
Beginner's Guide to Regex

Beginner's Guide to Regex

Reactions 6 Comments
6 min read
Where to start with regular expressions?

Where to start with regular expressions?

Reactions 7 Comments
1 min read
The Complete Guide to Regular Expressions (Regex)

The Complete Guide to Regular Expressions (Regex)

Reactions 629 Comments 8
14 min read
Simple, beginner steps: RegEx and strings.

Simple, beginner steps: RegEx and strings.

Reactions 5 Comments
3 min read
Using Nokogiri and RegEx to Scan a Webpage in Ruby

Using Nokogiri and RegEx to Scan a Webpage in Ruby

Reactions 10 Comments
4 min read
Project Upgrade: Voice Controlled To-Do List App with Deepgram and Vue 3

Project Upgrade: Voice Controlled To-Do List App with Deepgram and Vue 3

Reactions 20 Comments
15 min read
RegEx, Data Classes and Type Hints with Python: Learning from tweet text

RegEx, Data Classes and Type Hints with Python: Learning from tweet text

Reactions 11 Comments
6 min read
Introduction to Regex

Introduction to Regex

Reactions 13 Comments
7 min read
Validation mask through Regex with Python

Validation mask through Regex with Python

Reactions 5 Comments
2 min read
Regular Expression Example

Regular Expression Example

Reactions 6 Comments
2 min read
Regular Expression (Regex) with Python

Regular Expression (Regex) with Python

Reactions 6 Comments
2 min read
Checking Mail Address Simply using Perl Regular Expression

Checking Mail Address Simply using Perl Regular Expression

Reactions 7 Comments 7
1 min read
Transforming VS Code Snippets

Transforming VS Code Snippets

Reactions 6 Comments
6 min read
Melody: A New Way to RegEx

Melody: A New Way to RegEx

Reactions 6 Comments
6 min read
A Quick Behind the Scenes of Greedy and Lazy Matching

A Quick Behind the Scenes of Greedy and Lazy Matching

Reactions 6 Comments
5 min read
Remove double imports with regular expression

Remove double imports with regular expression

Reactions 6 Comments
1 min read
Regex Of The Week #1

Regex Of The Week #1

Reactions 5 Comments
1 min read
O poder das express√Ķes regulares em Python

O poder das express√Ķes regulares em Python

Reactions 7 Comments
2 min read
Why you never hate Regex again?

Why you never hate Regex again?

Reactions 6 Comments
1 min read
REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES

REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES

Reactions 6 Comments
1 min read
The black art of Regular Expressions - A little computer science for the inquisitive developer

The black art of Regular Expressions - A little computer science for the inquisitive developer

Reactions 6 Comments 1
4 min read
Only Numbers validation in JS

Only Numbers validation in JS

Reactions 7 Comments 1
1 min read
How to Use Regular Expressions in Python

How to Use Regular Expressions in Python

Reactions 10 Comments
6 min read
001/100 Days of Code: Express√Ķes Regulares

001/100 Days of Code: Express√Ķes Regulares

Reactions 11 Comments 4
2 min read
Regex to the Reading History Rescue

Regex to the Reading History Rescue

Reactions 5 Comments
2 min read
How we sped up a Regex by 50,000x to make a family-friendly MMO safe for all

How we sped up a Regex by 50,000x to make a family-friendly MMO safe for all

Reactions 19 Comments 2
19 min read
JavaScript Basics #5: Regular Expressions

JavaScript Basics #5: Regular Expressions

Reactions 6 Comments
5 min read
Validate Phone Number

Validate Phone Number

Reactions 6 Comments
1 min read
Not a Regular Password Regex

Not a Regular Password Regex

Reactions 6 Comments
2 min read
Cracking into Regex

Cracking into Regex

Reactions 16 Comments
4 min read
Intro to Regular Expressions in Ruby

Intro to Regular Expressions in Ruby

Reactions 2 Comments
3 min read
[week1] Days 2 - Regex !

[week1] Days 2 - Regex !

Reactions 5 Comments
2 min read
Learning Vim Regex

Learning Vim Regex

Reactions 22 Comments
22 min read
[week1] Days 4 - Mini project around js and regex

[week1] Days 4 - Mini project around js and regex

Reactions 6 Comments
2 min read
Does /[A-z]/ Work For Case-Insensitive Regex?

Does /[A-z]/ Work For Case-Insensitive Regex?

Reactions 6 Comments
2 min read
A beginner's guide to Regex

A beginner's guide to Regex

Reactions 5 Comments
9 min read
[week1] Days 3 - Regex ! part 2

[week1] Days 3 - Regex ! part 2

Reactions 4 Comments
2 min read
How do you feel about regex?

How do you feel about regex?

Reactions 74 Comments 72
1 min read
How do you regex?

How do you regex?

Reactions 44 Comments 24
1 min read
RegExp Cheatsheet to speed up code editing and refactor

RegExp Cheatsheet to speed up code editing and refactor

Reactions 173 Comments 4
5 min read
Use Regex to match multi Kafka topics Grafana Dashboard

Use Regex to match multi Kafka topics Grafana Dashboard

Reactions 4 Comments
1 min read
100 Languages Speedrun: Episode 47: Raku (Perl 6) Regular Expressions

100 Languages Speedrun: Episode 47: Raku (Perl 6) Regular Expressions

Reactions 5 Comments 20
10 min read
Negative lookbehind alternative in JavaScript

Negative lookbehind alternative in JavaScript

Reactions 5 Comments 1
2 min read
Caso de uso: RegEx

Caso de uso: RegEx

Reactions 18 Comments 1
3 min read
Regex Named Groups and Backreferences

Regex Named Groups and Backreferences

Reactions 2 Comments
4 min read
Introdução a RegEx

Introdução a RegEx

Reactions 6 Comments
14 min read
100 Languages Speedrun: Episode 07: Sed and Regular Expression FizzBuzz

100 Languages Speedrun: Episode 07: Sed and Regular Expression FizzBuzz

Reactions 7 Comments
11 min read
Gently Embracing Different Regular Expression Approaches in Ruby

Gently Embracing Different Regular Expression Approaches in Ruby

Reactions 10 Comments
3 min read
Venha expressar regulamente conosco?

Venha expressar regulamente conosco?

Reactions 6 Comments
2 min read
Yup Schema for Nigeria Phone Mobile Number

Yup Schema for Nigeria Phone Mobile Number

Reactions 3 Comments
1 min read
Can you find the bug in this piece of code? - RegExp edition ūüĆć

Can you find the bug in this piece of code? - RegExp edition ūüĆć

Reactions 31 Comments 24
1 min read
13 reasons why you should not use Perl

13 reasons why you should not use Perl

Reactions 6 Comments 15
4 min read
.Net 5 Regex Performance

.Net 5 Regex Performance

Reactions 5 Comments
3 min read
JS practice: day2 - password decoder

JS practice: day2 - password decoder

Reactions 3 Comments
1 min read
Check for a Tic Tac Toe winner with Regular Expressions

Check for a Tic Tac Toe winner with Regular Expressions

Reactions 3 Comments 1
3 min read
loading...