Regular expression search and replace of jEdit and Notepad++

I just found that there are some differences for the regular expression in search and replace for both jEdit and Notepad++. Both of them are great text editors. jEdit requires Java Runtime Environment. Notepad++ is based on Scintilla, so Notepad++ regular expression is based on Scintilla.

So, what are the differences I found? Notepad++ regular expression for search and replace, we can use \1, \2, \3 to \9 syntax. For jEdit regular expression, it uses $1, $2, $3 to $9 syntax.

Next, Notepad++ regular expression does not support alternation operator, “|”, but jEdit support. So, I prefer jEdit to do the regular expression.

Bookmark and Share

Leave a comment