MAKING MATCHES
Just about the simplest regular expression would be a sequence of characters, such as ‘abc’, which you want to find in a string. A regular expression to match ‘abc’ can be created simply by placing those letters between two forward-slash delimiters /abc/. You can test for a match using the =~ operator method like this: