I propose a new function called extractor that returns the matchAll and splitter's results but is optimized.
Having to split and match seems slow(50%). Surely the regex
splitter and matcher can be combined? Sometimes we just need to
extract out and remove information simultaneously.