Blog

Page 612 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How does Stack Overflow generate its SEO-friendly URLs?
friendly-urlregex

How does Stack Overflow generate its SEO-friendly URLs?

Published on September 2, 2023

## How Stack Overflow Creates SEO-Friendly URLs: A Complete Guide Are you wondering how Stack Overflow generates those SEO-friendly URLs? The ones that are clear, concise, and easy to read? In this blog post, we'll dive into the process and give you some

Cover Image for How to understand nil vs. empty vs. blank in Ruby
ruby-on-rails

How to understand nil vs. empty vs. blank in Ruby

Published on September 2, 2023

# Understanding `nil` vs. `empty` vs. `blank` in Ruby šŸ¤” Are you feeling confused about the differences between `nil`, `empty`, and `blank` in Ruby? Don't worry, you're not alone! It's a common source of confusion for many developers. In this blog post, w

Cover Image for How to find patterns across multiple lines using grep?
regex

How to find patterns across multiple lines using grep?

Published on September 2, 2023

# How to find patterns across multiple lines using grep? šŸ“šŸ’” Welcome to another tech blog post! Today we are going to tackle the question of finding patterns across multiple lines using `grep`. šŸ¤” Have you ever had a situation where you needed to searc

Cover Image for Regex not operator
operatorsregexstring

Regex not operator

Published on September 2, 2023

## Regex NOT Operator: Deleting Unwanted Patterns While Retaining Specific Ones Have you ever found yourself struggling to delete specific patterns in a string using regular expressions (regex), but not quite getting the desired results? šŸ¤” Well, you're n

Cover Image for How to check for valid email address?
email-validationpythonregex

How to check for valid email address?

Published on September 2, 2023

# šŸ“§ How to Check for a Valid Email Address Are you tired of receiving emails from "noreply@dontbother.com" or dealing with invalid email addresses? Look no further! In this blog post, we will explore common issues and provide easy solutions for checking

Cover Image for Is there a version of JavaScript"s String.indexOf() that allows for regular expressions?
javascriptregex

Is there a version of JavaScript"s String.indexOf() that allows for regular expressions?

Published on September 2, 2023

šŸ”Ž Finding a Regular Expression-Friendly String.indexOf() Have you ever wondered if there's a way to use regular expressions with JavaScript's String.indexOf() function? šŸ¤” It's a common question, and fortunately, there are solutions available. In this bl

Cover Image for How do I negate a test with regular expressions in a bash script?
regex

How do I negate a test with regular expressions in a bash script?

Published on September 2, 2023

šŸ“šŸ˜ƒšŸ’»šŸ”āœ–ļøšŸ”£šŸ’­šŸ”āœ…šŸ”€šŸ”‘šŸ”” Title: Mastering Regular Expressions in Bash: How to Negate a Test Introduction: Have you ever found yourself struggling to negate a test with regular expressions in a bash script? šŸ¤” Fear no more, as we'll dive into this topic an

Cover Image for Regular expression to limit number of characters to 10
regex

Regular expression to limit number of characters to 10

Published on September 2, 2023

šŸ“**Tech Blog Post: Limiting Number of Characters in Regular Expression to 10** šŸ“šŸ”¢ Are you struggling to create a regular expression that limits the number of characters to 10 while only allowing lowercase letters? Don't worry, you're not alone! šŸ˜… šŸ”*

Cover Image for How to use "-prune" option of "find" in sh?
regexshell

How to use "-prune" option of "find" in sh?

Published on September 2, 2023

# How to Use the '-prune' Option of 'find' in sh? Are you struggling with understanding how to use the '-prune' option in 'find' command in sh? Don't worry, you're not alone! Many people find the example provided in the 'man find' documentation confusing

Blog | Matheus Mello