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.
Regex for Kenyan Phone Number format 07XXXXXXXX in Python

Regex for Kenyan Phone Number format 07XXXXXXXX in Python

13
Comments
1 min read
Powerful regex for the practical dev
Cover image for Powerful regex for the practical dev

Powerful regex for the practical dev

26
Comments 2
6 min read
Extract mobile number using regex

Extract mobile number using regex

2
Comments
1 min read
Correctly escaping regular expressions

Correctly escaping regular expressions

5
Comments
2 min read
On regex capturing groups

On regex capturing groups

8
Comments
3 min read
Restrict Editable Area in Monaco Editor - Part 2

Restrict Editable Area in Monaco Editor - Part 2

8
Comments
2 min read
Replacing placeholders in Ruby on Rails

Replacing placeholders in Ruby on Rails

10
Comments 3
2 min read
JavaScript RegEx Exercises 01 13:35

JavaScript RegEx Exercises 01

14
Comments
1 min read
Regex: Match for a `yes` or a `no`

Regex: Match for a `yes` or a `no`

1
Comments
1 min read
Understanding Regular Expressions once and for all [PART 4]
Cover image for Understanding Regular Expressions once and for all [PART 4]

Understanding Regular Expressions once and for all [PART 4]

4
Comments
3 min read
I know, I'll use a regex!

I know, I'll use a regex!

5
Comments
5 min read
Greedy and lazy match in regex

Greedy and lazy match in regex

3
Comments
1 min read
An ELI5 version of REGEX and NFA

An ELI5 version of REGEX and NFA

5
Comments
2 min read
Regex Named Capturing Groups in JavaScript and Node

Regex Named Capturing Groups in JavaScript and Node

8
Comments 1
1 min read
Regular Expressions in 1 Minute
Cover image for Regular Expressions in 1 Minute

Regular Expressions in 1 Minute

7
Comments
3 min read
C# Multi String Replace Extension Method

C# Multi String Replace Extension Method

10
Comments
5 min read
Explain Regular Expressions Like I'm Five
Cover image for Explain Regular Expressions Like I'm Five

Explain Regular Expressions Like I'm Five

24
Comments 1
5 min read
Grabbing version strings with PowerShell
Cover image for Grabbing version strings with PowerShell

Grabbing version strings with PowerShell

1
Comments
2 min read
Checking whether a number sequence has two or four digits in Python

Checking whether a number sequence has two or four digits in Python

7
Comments
2 min read
Regex Cheat Sheet

Regex Cheat Sheet

5
Comments
1 min read
Introduction To Regular Expression

Introduction To Regular Expression

4
Comments
1 min read
Awesome Regex Resources
Cover image for Awesome Regex Resources

Awesome Regex Resources

9
Comments
3 min read
Regex Cheat Sheet
Cover image for Regex Cheat Sheet

Regex Cheat Sheet

3
Comments
2 min read
linux : regex

linux : regex

10
Comments
3 min read
Utilize Nginx to fulfill 301 redirect to root domain of https

Utilize Nginx to fulfill 301 redirect to root domain of https

5
Comments
3 min read
loading...