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.
Next, Notepad++ regular expression does not support alternation operator, “|”, but jEdit support. So, I prefer jEdit to do the regular expression.