Home > OS >  How to use regular expressions in Emeditor delete TXT documents with English?
How to use regular expressions in Emeditor delete TXT documents with English?

Time:09-23

A: Chinese and English word or two words a interval, need to delete the English,
Intercepting text: 1, party b confirmation should according to the two sides signed on January 4, 2008, the provisions of the purchase contract (contract no. XXX) for the price of $3100/ton delivered to party a 97.92 ton of diethanolamine, but not in the contract time delivery,
Party B has confirmed that Party B should have delivered 97.92 ton of Diethanolamine (DEA) with the price USD 3100 per ton "according to the purchasing contract (Contact No. : XXX) signed by both part in th January 4, 2008. But Party B failed to deliver the cargo within the certain time.
2, party b hereby confirm has been sent to the third party for the price of $3600/ton bought 91.2 tons of diethanolamine, used to guarantee the delivery to the customer, at the same time generate default loss total $45600,
3, involved in the arbitration fees, all be borne by party b and prepay,
All arbitration feeds will be borne by Party B and be paid in advance.

Case 2: Chinese text, then there are a large number of English and Chinese after, need to delete the English,
Intercepting text: Ben:, please in accordance with the arbitration rules of the arbitration fee schedule of the pay an arbitration fee deposit and the amount of arbitration fee will notify the applicant by the arbitration commission after receipt of the application for arbitration, the arbitration fee borne in award by the arbitration tribunal, shall be borne by the losing party in principle,
The About Us
IntroductionOrganizationArticles of AssociationHistorical DataWork ReportStatisticsFacilities & amp; ServicesContact Us
Rules
CIETAC Current Arbitration RulesCIETAC Current Arbitration Rules (multilingual) CIETAC International Investment Arbitration Rules CIETAC Financial Disputes Arbitration RulesCIETAC Other RulesGuidelines on Evidence

Case 3: the brackets and quotes there are English, and some of the quotes inside the colon with punctuation marks in English, need to delete the English,
Intercepting text: 1. The "instructions" "program meeting" the first paragraph 14 rule "If a party does not attend the program meeting, or the arbitration tribunal shall, as far as possible under the condition of the program schedule allows for did not attend the meeting of the parties in arbitration proceedings in the case of good opportunity," (English texts: If a party has not participated in procedural meetings, the arbitral tribunal should nevertheless dojo.provide, possibly in the procedural timetable, the non - participating party with a sufficient opportunity to present its case in the arbitral proceedings.) Canadian representative think: should be deleted "possibly,"
Secretary-general Meg Kinnear (Meg Kinnear) woman, she briefly introduced the ICSID fourth rule revision situation recently,

Situation 4: some English names of places organization name does not need to delete,
Intercepting text: the secretariat also report this year William C Vis Moot the organization of the Program, this meeting to review reflects the sixty-fifth meeting of the A/CN. 9/WG. II/WP. No. 200 and its supplementary as the foundation, says Willem C Vis simulation arbitration tribunal competition in the international commercial arbitration practice and legal education has A great influence,

Testing in this text:
Link: https://pan.baidu.com/s/1ee1CTpcrqa78B4RWmXH62g
The extracted code: 1 GSD
All capture the text is in a TXT file, the final results is to remove all the English sentence, all the English in brackets, quotation marks in all of the English (note: some brackets and quotes are all Chinese, can't delete, delete the inside of the colon quotes only English), but keeps a project name place name in English,
Although a bit complicated, hoped everybody brainstorm, can solve a case is a kind of situation, please everybody many help, thanked first here!

CodePudding user response:

Keep to name names the project name, it's a little complicated
  • Related