Suppose in the beginning we have $pattern="(\s*TOTAL\s*FUND\s*OPERATING\s*)(\S.{0,21}?\S)(\s*\s*EXPENSES\s*F\s*)"