When using a text editor program,Quite often have to use the "Search" and "replace" feature requirements,In particular "replace" feature,Can greatly reduce our working time,And in some circumstances,We will need to find / replace newline,At this time, there have been benefits of wxMEdit,We can be reached by searching for its "regular expressions" of。
When you turn on the "Search" window,Check the bottom of the "Use regular expressions",Then the input values”\n”,Can handle newline characters。
If you wish to search tab characters,Import”\t”To,Other characters may refer to this site -[Regular expression Regular Expression | Program is love]
[…] I previously wrote an article "In wxMEdit(MadEdit)Search for newline character",I happened to meet the same need again today,Now we have actually switched from wxMEdit to MadEdit-Mod,The essence is almost the same,Just use the "regular expressions" mentioned in the article to search “n” and replace。The strange thing is that I found it,also replaced,However, the newline symbol still exists in the result,and search again “n” Can't find it。 […]