Forem

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.
Thoughts, quotes and thoughts about regex
Cover image for Thoughts, quotes and thoughts about regex

Thoughts, quotes and thoughts about regex

5
Comments 3
3 min read
World-first Static time RegEx engine with O(0) time complexity
Cover image for World-first Static time RegEx engine with O(0) time complexity

World-first Static time RegEx engine with O(0) time complexity

90
Comments 9
4 min read
Introduction to Regular Expressions
Cover image for Introduction to Regular Expressions

Introduction to Regular Expressions

21
Comments 5
2 min read
Natural Language v. Regex: The Context Wars
Cover image for Natural Language v. Regex: The Context Wars

Natural Language v. Regex: The Context Wars

3
Comments
5 min read
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? 🤯
Cover image for 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
Cover image for Step up your Regex game

Step up your Regex game

106
Comments 4
5 min read
How to use Regular Expressions in JavaScript
Cover image for 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
Cover image for 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
Cover image for Making Regular Expressions Readable in JavaScript

Making Regular Expressions Readable in JavaScript

17
Comments 9
2 min read
Becoming a wizard with Vim
Cover image for Becoming a wizard with Vim

Becoming a wizard with Vim

5
Comments 3
3 min read
Regex: finding repetitions
Cover image for Regex: finding repetitions

Regex: finding repetitions

8
Comments
1 min read
Answer: Regular Expressions and negating a whole character group [duplicate]

Answer: Regular Expressions and negating a whole character group [duplicate]

3
Comments
1 min read
Parte 1: RegExp - Qué son, para qué se utilizan y cómo funcionan

Parte 1: RegExp - Qué son, para qué se utilizan y cómo funcionan

4
Comments
4 min read
Regex - Character Ranges

Regex - Character Ranges

8
Comments
1 min read
A Visual Guide to Regular Expression
Cover image for A Visual Guide to Regular Expression

A Visual Guide to Regular Expression

1272
Comments 29
7 min read
Learning to Love Regex
Cover image for Learning to Love Regex

Learning to Love Regex

33
Comments
8 min read
Ruby's gsub method: What, Why, & How
Cover image for Ruby's gsub method: What, Why, & How

Ruby's gsub method: What, Why, & How

7
Comments
5 min read
loading...