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.
ColdFusion isDomain() UDF

ColdFusion isDomain() UDF

6
Comments
2 min read
Regular Expressions in D

Regular Expressions in D

9
Comments
2 min read
Vim - Delete Lines with Regex

Vim - Delete Lines with Regex

15
Comments
1 min read
JavaScript regular expressions cheatsheet and examples

JavaScript regular expressions cheatsheet and examples

178
Comments 1
8 min read
Check IP with Regex in Java

Check IP with Regex in Java

5
Comments
1 min read
20 Small Steps to Become a Regex Master

20 Small Steps to Become a Regex Master

609
Comments 15
42 min read
Regex: The Mighty String Wrangler

Regex: The Mighty String Wrangler

5
Comments
3 min read
Regular Expressions(RegEx) in Python

Regular Expressions(RegEx) in Python

53
Comments 2
18 min read
URL knife

URL knife

8
Comments
1 min read
Validating Social Security Numbers

Validating Social Security Numbers

8
Comments 2
3 min read
Python regular expression cheatsheet and examples

Python regular expression cheatsheet and examples

61
Comments
9 min read
VS Code: Search-and-Replace Regex

VS Code: Search-and-Replace Regex

114
Comments 18
2 min read
Howto: Drop-down list with Gitlab projects in Jenkins if you have more them 99 projects in namespace

Howto: Drop-down list with Gitlab projects in Jenkins if you have more them 99 projects in namespace

4
Comments
1 min read
Building a regex learn-by-examples web application

Building a regex learn-by-examples web application

3
Comments 2
1 min read
Quick tips for searching in vim

Quick tips for searching in vim

10
Comments 1
3 min read
Regex Search in VSCode

Regex Search in VSCode

15
Comments 3
2 min read
Expresiones Regulares

Expresiones Regulares

12
Comments
12 min read
Using Regular Expressions to Filter Your Server’s Logs

Using Regular Expressions to Filter Your Server’s Logs

25
Comments 3
10 min read
Regular Expressions And Template Literals

Regular Expressions And Template Literals

41
Comments 6
4 min read
Regular Expressions for finding IP Addresses in Your Logs: The Prep

Regular Expressions for finding IP Addresses in Your Logs: The Prep

1
Comments
6 min read
Asking for review on non-string regular expressions

Asking for review on non-string regular expressions

7
Comments 3
1 min read
Regex to match markdown links in Javascript

Regex to match markdown links in Javascript

6
Comments
2 min read
BREAKING DOWN REGULAR EXPRESSIONS[0] — ONE STEP AT A TIME

BREAKING DOWN REGULAR EXPRESSIONS[0] — ONE STEP AT A TIME

22
Comments
6 min read
Découper un fichier Word en plusieurs PDF…

Découper un fichier Word en plusieurs PDF…

7
Comments
4 min read
Validate a simple form using RegEx

Validate a simple form using RegEx

15
Comments
3 min read
Howto: Drop-down list with Gitlab projects in Jenkins

Howto: Drop-down list with Gitlab projects in Jenkins

4
Comments
1 min read
How CloudFlare could have avoided its outage (maybe)

How CloudFlare could have avoided its outage (maybe)

18
Comments 6
3 min read
Use Javascript Regex to Find All IDs That Contain a String and Copy the Text to the Clipboard

Use Javascript Regex to Find All IDs That Contain a String and Copy the Text to the Clipboard

14
Comments
2 min read
There's only one way to validate an email address

There's only one way to validate an email address

78
Comments 32
3 min read
Mute tweets in Tweetbot by regular expressions

Mute tweets in Tweetbot by regular expressions

5
Comments
2 min read
How to write "four letter word" in regex?

How to write "four letter word" in regex?

6
Comments
1 min read
Howto: Drop-down list Jira's components in Jenkins

Howto: Drop-down list Jira's components in Jenkins

10
Comments
1 min read
What are you using RegEx for?

What are you using RegEx for?

9
Comments 3
1 min read
Regular Expressions for Regular People

Regular Expressions for Regular People

10
Comments
7 min read
Fun with JavaScript Regex

Fun with JavaScript Regex

15
Comments
6 min read
The string-matching regex explained step by step

The string-matching regex explained step by step

108
Comments 9
8 min read
Java Regex Cheat Sheet

Java Regex Cheat Sheet

12
Comments
3 min read
Replacing text using regex groups in VSCode

Replacing text using regex groups in VSCode

4
Comments 1
1 min read
Ruby Regexp Part 9 - Modifiers

Ruby Regexp Part 9 - Modifiers

8
Comments
4 min read
Ruby Regexp Part 8 - Lookarounds

Ruby Regexp Part 8 - Lookarounds

6
Comments 2
9 min read
Ruby Regexp Part 7 - Groupings and backreferences

Ruby Regexp Part 7 - Groupings and backreferences

7
Comments
10 min read
Ruby Regexp Part 6 - Character class

Ruby Regexp Part 6 - Character class

5
Comments
6 min read
Ruby Regexp Part 5 - Matched portions

Ruby Regexp Part 5 - Matched portions

8
Comments
7 min read
Ruby Regexp Part 4 - Quantifiers

Ruby Regexp Part 4 - Quantifiers

5
Comments
8 min read
Ruby Regexp Part 3 - Alternatives and Escaping

Ruby Regexp Part 3 - Alternatives and Escaping

5
Comments
7 min read
Ruby Regexp Part 2 - Anchors

Ruby Regexp Part 2 - Anchors

10
Comments
6 min read
Ruby Regexp Part 1 - Introduction

Ruby Regexp Part 1 - Introduction

16
Comments
6 min read
Decoding Regex Hieroglyphs

Decoding Regex Hieroglyphs

38
Comments
5 min read
Parse user input for urls, timestamps & hashtags with RegEX 🧠

Parse user input for urls, timestamps & hashtags with RegEX 🧠

55
Comments 3
6 min read
Regex Bootcamp (or Nobody Seems to be Using HTML5 Validation)

Regex Bootcamp (or Nobody Seems to be Using HTML5 Validation)

41
Comments 5
4 min read
Regex solution

Regex solution

8
Comments 4
1 min read
Writing a Regular Expression to Target Images Without a Class

Writing a Regular Expression to Target Images Without a Class

8
Comments
5 min read
Regex tools

Regex tools

41
Comments 4
1 min read
How to create your instant form validation

How to create your instant form validation

12
Comments 2
6 min read
Regex…

Regex…

11
Comments 3
2 min read
Hello... RegExp!?

Hello... RegExp!?

9
Comments
8 min read
The more-proper introduction to ReX.js

The more-proper introduction to ReX.js

11
Comments
2 min read
Getting the Gist of Java

Getting the Gist of Java

15
Comments
5 min read
How are regex used in the real world?

How are regex used in the real world?

6
Comments 8
1 min read
Adventures in Regular Expressions

Adventures in Regular Expressions

9
Comments
5 min read
loading...