I am somewhat learned in using regex, but my coworkers aren't. I was wondering if there was some kind of WYSIWYG program out there that can assist people with making edits with regex. e.g. if somebody is trying to learn what regular expression they're supposed to use, they can highlight two sets of text in LibreOffice Writer or MSWord, and then this program I'm looking for will make some suggestions as to regex searches that fit both of the highlighted items.
FOSS is preferred, any operating system.