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 Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s