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.
Use RegEx to split a string in Javascript (preserving separators) | Notes

Use RegEx to split a string in Javascript (preserving separators) | Notes

3
Comments
1 min read
Regex basics with explanations and examples

Regex basics with explanations and examples

36
Comments
4 min read
A Regular Expression to filter invalid names | Notes

A Regular Expression to filter invalid names | Notes

3
Comments
2 min read
Regular Expressions (Regex) Tutorial

Regular Expressions (Regex) Tutorial

2
Comments
1 min read
Using matches & regex in Twig!

Using matches & regex in Twig!

3
Comments 1
1 min read
Regex..why can’t you just be normal? 🤯

Regex..why can’t you just be normal? 🤯

10
Comments 9
1 min read
Working with double-byte regex expressions and Python3

Working with double-byte regex expressions and Python3

7
Comments 2
1 min read
Step up your Regex game

Step up your Regex game

106
Comments 4
5 min read
How to use Regular Expressions in JavaScript

How to use Regular Expressions in JavaScript

67
Comments 4
8 min read
Making Regular Expressions Readable in JavaScript

Making Regular Expressions Readable in JavaScript

8
Comments
2 min read
Regular Expressions cheat sheet

Regular Expressions cheat sheet

65
Comments 3
2 min read
Refactoring HTML code with help of regex search and replace

Refactoring HTML code with help of regex search and replace

8
Comments
2 min read
Making Regular Expressions Readable in JavaScript

Making Regular Expressions Readable in JavaScript

17
Comments 9
2 min read
Becoming a wizard with Vim

Becoming a wizard with Vim

5
Comments 3
3 min read
Regex: finding repetitions

Regex: finding repetitions

8
Comments
1 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.