Blog

Page 635 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How can I write a regex which matches non greedy?
regex

How can I write a regex which matches non greedy?

Published on September 2, 2023

## How to Write a Non-Greedy Regex? šŸ˜Žāœļø Do you need help with regular expression matching using the non-greedy option? Look no further, because we've got you covered! In this article, we'll address common issues surrounding non-greedy regular expressions

Cover Image for Check if string matches pattern
pythonregexstringstring-matching

Check if string matches pattern

Published on September 2, 2023

# How to Check If a String Matches a Pattern Are you struggling to determine if a string matches a specific pattern? šŸ¤” Don't worry - we've got you covered! In this blog post, we'll address the common issue of checking if a string matches a certain patter

Cover Image for Regex: match everything but a specific pattern
regex

Regex: match everything but a specific pattern

Published on September 2, 2023

# How to Use Regex to Match Everything Except a Specific Pattern 😮✨ Are you struggling to create a regular expression that matches everything except a specific pattern? We've got you covered! In this guide, we'll walk you through the common issues and pr

Cover Image for Regex lookahead, lookbehind and atomic groups
regex

Regex lookahead, lookbehind and atomic groups

Published on September 2, 2023

# Unlocking the Power of Regex Lookahead, Lookbehind, and Atomic Groups šŸ•µļøā€ā™€ļøšŸ”šŸ’£ Have you ever come across those mysterious symbols like `(?!)` or `(?=)` in a regular expression (regex) and wondered what they do? Well, fret no more! In this blog post, w

Cover Image for Case insensitive regular expression without re.compile?
pythonregex

Case insensitive regular expression without re.compile?

Published on September 2, 2023

šŸ“šŸ‘‰šŸ”Ž *Case Insensitive Regular Expression in Python: No `re.compile`?* Are you struggling to find an easy way to write a case-insensitive regular expression in Python without using `re.compile`? šŸ˜• Look no further, my friend! In this blog post, I'll sho

Cover Image for How can I extract a number from a string in JavaScript?
javascriptnumbersregexstring

How can I extract a number from a string in JavaScript?

Published on September 2, 2023

šŸ“ **Extracting a Number from a String in JavaScript: A Simple Guide** Hey there, fellow JavaScript enthusiast! šŸ˜„ Are you struggling with extracting a number from a string in JavaScript? Don't worry, you're not alone! Many developers have encountered th

Cover Image for Regex: ignore case sensitivity
regex

Regex: ignore case sensitivity

Published on September 2, 2023

šŸ“ **Title:** "Unleash the Power of Regex: Ignoring Case Sensitivity Like a Pro!" šŸ˜ŽšŸ’„ šŸ‘‹ Hey there, tech-savvy readers! šŸ‘©ā€šŸ’»šŸ‘Øā€šŸ’» Are you ready to level up your regex game? šŸš€ Today, we'll tackle a question that often pops up when working with regular e

Cover Image for How do I replace multiple spaces with a single space in C#?
c#regexstring

How do I replace multiple spaces with a single space in C#?

Published on September 2, 2023

# How to Replace Multiple Spaces with a Single Space in C# Have you ever encountered a situation where you need to replace multiple spaces in a string with just one space? Well, you're in luck! In this blog post, I'm going to show you a few simple soluti

Cover Image for Regex: matching up to the first occurrence of a character
regex

Regex: matching up to the first occurrence of a character

Published on September 2, 2023

šŸ‘‹ Hey there, fellow tech enthusiasts! šŸ˜Ž Do you šŸ’­ ever find yourself struggling with regex? šŸ¤” Well, worry no more! Today, we're going to tackle a common issue: matching up to the first occurrence of a character, specifically a semicolon (;). šŸ’Ŗ So, let

Blog | Matheus Mello