2

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.

5

Personally I would recommend the online regex101:

  • Supported flavours: pcre (php), javascript & python
  • Your own library and others
  • Shows you what is going on as you construct your re
  • Explains what each element does
  • Built in quick reference
  • Substitution Editor
  • Code Generator
  • re formatter for verbose options
  • Free, gratis but contributions invited
  • Open Sourcing is under consideration at this time (2016).
  • Works on just about any internet connected device.

example

Doesn't suggest from a couple of examples: these would usually come down to .+ without an expert system.

| improve this answer | |
  • I use regex101 all the time, it has a nice library of different filtering options that come in handy a lot. – Tom Aug 9 '16 at 1:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.