^start of line
.*?any character (except for line terminators), repeated any number of times
fthe literal f (10210 / 1468 / 6616) (case sensitive)
tthe literal t (11610 / 1648 / 7416) (case sensitive)
Ythe literal Y (8910 / 1318 / 5916) (case sensitive)
.*?any character (except for line terminators), repeated any number of times
\1the text saved by group 1
fthe literal f (10210 / 1468 / 6616) (case sensitive)
tthe literal t (11610 / 1648 / 7416) (case sensitive)
Ythe literal Y (8910 / 1318 / 5916) (case sensitive)
.*?any character (except for line terminators), repeated any number of times
Negative Lookahead(?!\1|\2) \1the text saved by group 1
\2the text saved by group 2
fthe literal f (10210 / 1468 / 6616) (case sensitive)
tthe literal t (11610 / 1648 / 7416) (case sensitive)
Ythe literal Y (8910 / 1318 / 5916) (case sensitive)
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