Where can I find the RegEx rendering tool for JavaScript?
Right now I'm debugging and commenting out another user's JavaScript code, but there's some fiendish RegEx in there. While my knowledge of RegEx is good enough it would help to have a robust visualizer to show each RegEx line as a railroad diagram or something similar.
-
I found an Eclipse plugin for use with Java in this question , so I was wondering if there is something similar for JavaScript out there.
-
It doesn't have to be a plugin, although something for Notepad ++ would be perfect. I checked through Notepad ++ Plug-in manager, but two RegEx tools I saw were not very good.
-
A web page that took an expression and created a diagram would work just as well, and it would save me the trouble of using a JSFiddle.
Does anyone know if such a tool exists? Or, if there is some trick I'm missing, what can make the RegEx parsing process easier?
source to share
Regexpr generates some pretty nice regex visualizations. Simple example:
And a more complex regex example that tries to match HTML tags:
(via tutsplus.com )
source to share
I use this for all regex tests: regexpal.com
Not technically what you're looking for (see @John Kugelman perhaps), but it works great to test regEx and show what works / doesn't work. Easy to use.
Screenshot
source to share