what color isthe literal text what color is (case sensitive) .*any character (except for line terminators), repeated any number of times
Non-Capturing Group(?:my|your|his|her) mythe literal text my (case sensitive) yourthe literal text your (case sensitive) histhe literal text his (case sensitive) herthe literal text her (case sensitive) .*any character (except for line terminators), repeated any number of times
Non-Capturing Group(?:bright red|blue|green|lemon chiffon)? ?repeats the group contents below at most once:
1st Alternativebright red bright redthe literal text bright red (case sensitive) bluethe literal text blue (case sensitive) greenthe literal text green (case sensitive) 4th Alternativelemon chiffon lemon chiffonthe literal text lemon chiffon (case sensitive) .*any character (except for line terminators), repeated any number of times
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