Elixre

An Elixir regular expression editor & tester

Reference

  • . non-newline char
  • ^ start of line
  • $ end of line
  • \b word boundary
  • \b word boundary
  • \A start of subject
  • \z end of subject
  • \d decimal digit
  • \D non-decimal digit
  • \s whitespace
  • \S non-whitespace
  • \w word character
  • \W non-word character
  • (a|z) a or z
  • [az] a or z
  • [^az] not a or z
  • [a-z] a through z
  • (foo) capture foo
  • a? 0 or 1 a
  • a* 0 or more a
  • a+ 1 or more a
  • a{3} 3 of a
  • a{3,} 3 or more a
  • a{3,5} 3 through 5 a

Modifiers

  • u unicode
  • i case insensitive
  • s dot matches newline
  • m multiline
  • x whitespace ignored
  • f start on first line
  • r inverts greediness

For more information see the Elixir Regex documentation and the Erlang re documentation.

Elixre is Free software, available under the GNU AGPL3 licence.

The source code is freely available on GitHub. (Contributions welcome!)

Inspired by Michael Lovitt's excellent Rubular.

Copyright © 2015 - Present Louis Pilfold. All Rights Reserved.