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.
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
Regular Expression for match empty string

Regular Expression for match empty string

6
Comments
1 min read
How to Build a RegEx Engine in Python (Part 2.1: Python strings)
Cover image for How to Build a RegEx Engine in Python (Part 2.1: Python strings)

How to Build a RegEx Engine in Python (Part 2.1: Python strings)

4
Comments
3 min read
Introducing Regcode - Create Regular Expressions Easily with Code
Cover image for Introducing Regcode - Create Regular Expressions Easily with Code

Introducing Regcode - Create Regular Expressions Easily with Code

22
Comments 7
3 min read
Kotlin Pure Regex Routing Logic

Kotlin Pure Regex Routing Logic

6
Comments
2 min read
Make your own Markdown Converter (with new Features) - Part 1

Make your own Markdown Converter (with new Features) - Part 1

7
Comments
2 min read
How to Build a RegEx Engine in Python (Part 1: The Grammar)
Cover image for How to Build a RegEx Engine in Python (Part 1: The Grammar)

How to Build a RegEx Engine in Python (Part 1: The Grammar)

11
Comments
3 min read
How to Build a RegEx Engine in Python (Part 2: The Lexer)
Cover image for How to Build a RegEx Engine in Python (Part 2: The Lexer)

How to Build a RegEx Engine in Python (Part 2: The Lexer)

9
Comments
4 min read
Do you find regexes complex?

Do you find regexes complex?

16
Comments
4 min read
Comprehensive Guide for not so Regular Expressions
Cover image for Comprehensive Guide for not so Regular Expressions

Comprehensive Guide for not so Regular Expressions

15
Comments
7 min read
Regex: Fix duplicate slashes without affecting protocol

Regex: Fix duplicate slashes without affecting protocol

9
Comments 2
1 min read
How to Detect Symbols & spaces With RegEx!
Cover image for How to Detect Symbols & spaces With RegEx!

How to Detect Symbols & spaces With RegEx!

5
Comments 1
1 min read
Primer on Regexes
Cover image for Primer on Regexes

Primer on Regexes

7
Comments
6 min read
preg_replace_callback for Javascript

preg_replace_callback for Javascript

3
Comments
1 min read
Writing an effective GROK pattern

Writing an effective GROK pattern

7
Comments
3 min read
Can I get a dash of regular expression in my KQL?
Cover image for Can I get a dash of regular expression in my KQL?

Can I get a dash of regular expression in my KQL?

7
Comments
1 min read
Looking at Regex in Rust (Addendum)

Looking at Regex in Rust (Addendum)

9
Comments
4 min read
loading...