Text document filter application built with RegExp