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.
13 reasons why you should not use Perl
Cover image for 13 reasons why you should not use Perl

13 reasons why you should not use Perl

4
Comments 16
4 min read
Check for a Tic Tac Toe winner with Regular Expressions
Cover image for Check for a Tic Tac Toe winner with Regular Expressions

Check for a Tic Tac Toe winner with Regular Expressions

3
Comments 1
3 min read
.Net 5 Regex Performance
Cover image for .Net 5 Regex Performance

.Net 5 Regex Performance

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

JS practice: day2 - password decoder

1
Comments
1 min read
Introduction to RegEx
Cover image for Introduction to RegEx

Introduction to RegEx

5
Comments
9 min read
Yup Schema for Nigeria Phone Mobile Number

Yup Schema for Nigeria Phone Mobile Number

4
Comments 3
1 min read
Create Phone Number using JS , Codewars Solution
Cover image for Create Phone Number using JS , Codewars Solution

Create Phone Number using JS , Codewars Solution

7
Comments
1 min read
String Patterns in TypeScript

String Patterns in TypeScript

5
Comments
1 min read
Regex: Parsing usernames from Twitter, Facebook, and Instagram

Regex: Parsing usernames from Twitter, Facebook, and Instagram

7
Comments
2 min read
Regex 101 - Kill the Monster
Cover image for Regex 101 - Kill the Monster

Regex 101 - Kill the Monster

4
Comments
4 min read
MongoDB equivalent of SQL LIKE query

MongoDB equivalent of SQL LIKE query

5
Comments
1 min read
Remove Space/Empty New Line on VSCode with Regex
Cover image for Remove Space/Empty New Line on VSCode with Regex

Remove Space/Empty New Line on VSCode with Regex

8
Comments 2
1 min read
Balancing Clarity, Elegance, and Risk in Regular Expressions

Balancing Clarity, Elegance, and Risk in Regular Expressions

2
Comments
17 min read
Snippets in JavaScript: Converting PascalCase to kebab-case // Integrating with ShadowDOM
Cover image for Snippets in JavaScript: Converting PascalCase to kebab-case // Integrating with ShadowDOM

Snippets in JavaScript: Converting PascalCase to kebab-case // Integrating with ShadowDOM

6
Comments
4 min read
Where to put regular expression checks?

Where to put regular expression checks?

1
Comments
1 min read
Format parser for Prettier and ESLint
Cover image for Format parser for Prettier and ESLint

Format parser for Prettier and ESLint

3
Comments
2 min read
Clean Code Studio Software Resources (Regex)
Cover image for Clean Code Studio Software Resources (Regex)

Clean Code Studio Software Resources (Regex)

11
Comments 1
2 min read
Regular Expressions for Non-Programmers.

Regular Expressions for Non-Programmers.

3
Comments
5 min read
Getting Started with Regular Expressions
Cover image for Getting Started with Regular Expressions

Getting Started with Regular Expressions

121
Comments 15
4 min read
How to Build a RegEx Engine in Python (Part 3: TDRDP)
Cover image for How to Build a RegEx Engine in Python (Part 3: TDRDP)

How to Build a RegEx Engine in Python (Part 3: TDRDP)

1
Comments
4 min read
Regular expressions in Rust

Regular expressions in Rust

7
Comments 1
4 min read
Rust: Lazy Static Regex

Rust: Lazy Static Regex

5
Comments
5 min read
Regex Cheat Sheet

Regex Cheat Sheet

22
Comments
13 min read
Snippet: Grab lat/lon from Google Maps URL

Snippet: Grab lat/lon from Google Maps URL

2
Comments
1 min read
Keeping code simple with regular expressions
Cover image for Keeping code simple with regular expressions

Keeping code simple with regular expressions

7
Comments
5 min read
loading...