^start of line
.*?any character (except for line terminators), repeated any number of times
Non-Capturing Group(?:buy|eletronic) buythe literal text buy (case sensitive) eletronicthe literal text eletronic (case sensitive) .*?any character (except for line terminators), repeated any number of times
Non-Capturing Group(?:buy|electronic) buythe literal text buy (case sensitive) 2nd Alternativeelectronic electronicthe literal text electronic (case sensitive) .*?any character (except for line terminators), repeated any number of times
$end of line
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string