Regex means Regular Expression. It's a pattern-matching language for finding data in text. This is how you can take a URL & break it down into pieces. For example : https (the procotol) hashnode.com (the domain) /post (the path) Most programming languages implement regular expressions, so it's not a feature exclusive to Ruby :) Hope that helps.