Javascript Regex Playground
by rcode5
how to play
- Type some javascript regular expression in the regex input box. You don't need to add leading and trailing slashes. That's done on the automatic.
- Add modifiers if you like. i for case-insensitive, m to match across newlines, g for "global" matching. Check out this page for details on modifiers.
- Type a sample string to match against in the other box.
- Check out the resulting matches.
- Repeat steps 1-3 until you've figured out the right regular expression.
Inspired by: Rubular, a Ruby regular expression editor