(?i)applies the following effective flags to the remainder of the pattern: gmi i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
Negative Lookbehind(?<!\d) Itemthe literal text Item (case insensitive) .*?any character (except for line terminators), repeated any number of times
1Athe literal text 1A (case insensitive) .*?any character (except for line terminators), repeated any number of times
Riskthe literal text Risk (case insensitive) .*?any character (except for line terminators), repeated any number of times
Factorsthe literal text Factors (case insensitive) \n*a line-feed (newline) character (ASCII 10), repeated any number of times
*?matches any number of characters from the set below:
\sany whitespace character
\Sany non-whitespace character
\n*a line-feed (newline) character (ASCII 10), repeated any number of times
Itemthe literal text Item (case insensitive) .*?any character (except for line terminators), repeated any number of times
1Bthe literal text 1B (case insensitive) 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