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.

1

1 Answer 1

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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