How to use regular expressions in EditPlus
First sort out the format manually and remove the spaces.
And then replace
Search entry: ([Amurz] * [Amurz]) = (null)
Replacement entry:\ 1 =\ 1
Semantic analysis:
([Amurz] * [Amurz]) = (null) is equivalent to [Amurz] * [Amurz] = null plus "()" for grouping
([Amurz] * [Amurz]) for group 1, syntax of\ 1 represents grouping 1
(null) the syntax for group 2 is\ 2 for group 2.
\ 1 =\ 1, that is, the above formula is replaced by the following formula, and the lower formula is grouped 1 = grouped 1 in the above formula.
[Amurz] * [Amurz] = null similar to the beginning of a letter with an infinite letter ending with "= null" meets the requirements.
Expansion exercise:
1. After the above operation has been successfully replaced, do a reversible operation to restore the regular expression.
Search entry: ([Amurz] * [Amurz]) = ([Amurz] * [Amurz])
Replacement entry:\ 1=null
two。 Delete comments such as
/ / appointment date entity.YUYUERQ=YUYUERQ; / / urinary protein entity.NIAODANB=NIAODANB; / / Blood glucose entity.XUETANGPJ=XUETANGPJ; / / check unit entity.JIANCHADWBM=JIANCHADWBM; / Test result entity.JIANCHAJG=JIANCHAJG; / description of test result entity.JIANCHAJGMS=JIANCHAJGMS
Search entry: [/]. *
Replacement input: enter a blank and then right-click to delete the blank line
The above is all the content of the article "how to use regular expressions in EditPlus". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!