Saturday, June 13, 2009

jedit find replace regular expression

Find and replace new lines
Find: \n
Replace:

Find start of line
Find: ^

Find one of the following word: test1test2test3
Remember the matches: (test1test2test3)
Replace with the match: $1

Beanshell snippet: _1.equals("value1") ? "val2" : "val3"

No comments:

Post a Comment