Fork me on GitHub

RegEx Multi-Line Splitter

Split a single-line JavaScript Regular Expression into multiple lines of code.

  Read the docs   GitHub Page   Other Ryadel.IO tools

Valid input examples: /your-regex/g or var re = /your-regex/g or var re = new RegExp("your-regex", "g") and so on.
A new RegExp([regexp], [modifiers]) JavaScript code snippet containing the given RegEx escaped & splitted into multiple lines.