RegExes in Ruby — A Brief Summary
7 min readMar 20, 2019
This is a brief overview of the Ruby class Regexp. However, regexes other languages (JavaScript, Python, etc) are similar.
Regex, RegEx, or Regexp
/ˈɹɛgɛks/
(noun, verb)
A shortening of “Regular Expression,” regexes are used to find patterns in strings. In Ruby documentation, these are called regexp, and calling .class on a…