views:

29

answers:

3

Hi. Does anybody know any tool for validating the syntax of an Regular Expression? I dont want to validate if it matches or not with some text but I want to see if there are syntax errors in the regex (missing parenthisis etc).

Also, what about syntax highlighting? It would be a great help when writing complex regex.

+1  A: 

http://regexpal.com/ has a form of syntax highlighting. As for validating, that would depend on which engine you are working with, since different engines support different syntaxes. It would be impossible to validate something without knowing exactly which syntax the engine you are targeting supports.

Cags
+1  A: 

I used RegexBuddy for more than half a year. Highly recommended.

boxoft
RegexBuddy looks really good. I will try it.Thanks
Popovich88
A: 

I like rubular.com

rogerdpack