Below is a JavaScript program I have designed, although it is simple, but give me great convenience. I have been using it to debug some JavaScript programs, used to test regular expressions, in addition to the lookup replacement features of ordinary strings, can also achieve the high-level lookup of the general text editor by using regular expressions / Replacement function.
Using is simple, enter a JavaScript program in the text box, click the execution script button to run the program, if the program is wrong, the detailed error message is given. Enter a text in the text box, enter the expression in the query expression box (can be a normal string or regular expression), and enter the text in the replacement box, then perform the lookup / replace. This program also supports multi-step UNDO / REDO feature.
SRC = "http://guoxin.lai.googlepages.com/sch_rpl.htm" width = "680" height = "400">