Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #23547
    David
    Participant

    Hello, I often handle some XML files like this:

    P_ARTICLE_DEPTH="125" P_ARTICLE_SPACING_FRONT="0" P_ARTICLE_SPACING_REAR="0" <strong>P_ARTICLE_DESCR1="de_DE@Stromversorgung;en_US@Power supply unit;ru_RU@Источники питания;pl_PL@Zasilacz;zh_CN@电源;es_ES@Alimentación de corriente;fr_FR@Alimentation;it_IT@Alimentatore;nl_NL@Voeding;tr_TR@Güç kaynağı;hu_HU@Tápellátás;da_DK@Strømforsyning;cs_CZ@Zdroj napájení;pt_PT@Fonte de alimentação;sv_SE@Strömförsörjning;ko_KR@전원 공급 장치;no_NO@Strømforsyning;" </strong>P_ARTICLE_DISCONTINUED="0" P_ARTICLE_DISCOUNT="0"

    In the “P_ARTICLE_DESCR1”, there are several languages exist by default. I wanna keep only “en_US@Power supply unit;”. Then I define a macro like this:

    function unExpectedLan()
    {
    document.selection.Replace("de_DE@(.+?);","",eeFindNext | eeReplaceAll | eeFindReplaceRegExp |eeExFindRegexBoost);
    document.selection.Replace("en_EN@(.+?);","",eeFindNext | eeFindReplaceEscSeq | eeReplaceAll | eeFindReplaceRegExp);
    document.selection.Replace("fr_FR@(.+?);","",eeFindNext | eeFindReplaceEscSeq | eeReplaceAll | eeFindReplaceRegExp);
    }

    It works and delete un-expected language texts. But finally, the semi-comma (“) also be deleted. If use Find& Replace function in Emeditor to search “de_DE@(.+?);”, it works correctly and will not delete semi-comma. What’s the reason? Thanks!

    #23548
    Yutaka Emura
    Keymaster

    Hello David,

    If you use “eeExFind…” flags in Find/Replace macros, please use them as a separate parameter like this:

    document.selection.Replace("de_DE@(.+?);","",eeFindNext | eeReplaceAll | eeFindReplaceRegExp, eeExFindRegexBoost);

    If the issue still persists, please let us know.

    Thanks,

    #23550
    Stefan
    Participant

    FROM:——————-
    P_ARTICLE_DEPTH=”125″ P_ARTICLE_SPACING_FRONT=”0″ P_ARTICLE_SPACING_REAR=”0″ P_ARTICLE_DESCR1=”de_DE@Stromversorgung;en_US@Power supply unit;ru_RU@Источники питания;pl_PL@Zasilacz;zh_CN@电源;es_ES@Alimentación de corriente;fr_FR@Alimentation;it_IT@Alimentatore;nl_NL@Voeding;tr_TR@Güç kaynağı;hu_HU@Tápellátás;da_DK@Strømforsyning;cs_CZ@Zdroj napájení;pt_PT@Fonte de alimentação;sv_SE@Strömförsörjning;ko_KR@전원 공급 장치;no_NO@Strømforsyning;” P_ARTICLE_DISCONTINUED=”0″ P_ARTICLE_DISCOUNT=”0″

    TO:—————-
    P_ARTICLE_DEPTH=”125″ P_ARTICLE_SPACING_FRONT=”0″ P_ARTICLE_SPACING_REAR=”0″ P_ARTICLE_DESCR1=”en_US@Power supply unit;” P_ARTICLE_DISCONTINUED=”0″ P_ARTICLE_DISCOUNT=”0″

    TRY:——————–
    document.selection.Replace(“(de_DE|en|EN|fr_FR|ru_RU|pl_PL|zh_CN|es_ES|it_IT|nl_NL|tr_TR|hu_HU|da_DK|cs_CZ|pt_PT|sv_SE|ko_KR|no_NO)@.+?;” , “” , eeReplaceAll | eeFindReplaceRegExp,0);

    HTH? ;-)

    #23553
    David
    Participant

    Hello,Yutaka sung, Stefan
      Thanks for your reply.
      I had tried the solutions you both offered, however, the semi-column still be replaced. Very strange.

    #23554
    Stefan
    Participant

    David, best is to post how the text looks like after your test, so we can see what you see.

    #23555
    David
    Participant

    Hello, Stefan,
    The original file looks like the following format:

    <?xml version="1.0" encoding="utf-8" ?>
    <partsmanagement count="1" length-unit="mm" weight-unit="kg" type="PartsManagement" build="136.22" database="part001.mdb">
     <part P_ARTICLE_PARTTYPE="1" P_ARTICLE_PARTNR="FES.543861" P_ARTICLE_CAN_BE_LINED_UP="0" P_ARTICLE_CERTIFICATE_CE="0" P_ARTICLE_CRAFT_COOLING="0" P_ARTICLE_CRAFT_COOLINGLUBRICANT="0" P_ARTICLE_CRAFT_ELECTRICAL="1" P_ARTICLE_CRAFT_FLUID="0" P_ARTICLE_CRAFT_FLUID_UNDEFINED="0" P_ARTICLE_CRAFT_GASTECHNOLOGY="0" P_ARTICLE_CRAFT_HYDRAULICS="0" P_ARTICLE_CRAFT_LUBRICATION="0" P_ARTICLE_CRAFT_MECHANICS="0" P_ARTICLE_CRAFT_PNEUMATICS="0" P_ARTICLE_CRAFT_PROCESS="0" P_PART_CREATE="fstn / 25.06.2014 09:42:45" P_ARTICLE_DEPTH="0" P_ARTICLE_SPACING_FRONT="0" P_ARTICLE_SPACING_REAR="0" P_ARTICLE_DESCR1="cs_CZ@čidlo;de_DE@Näherungsschalter;en_US@Proximity Sensor;es_ES@Sensor de proximidad;fr_FR@Capteur de proximité;hr_HR@Beskontaktni prekidač;hu_HU@Közelítéskapcsoló;it_IT@Sensore di finecorsa;ja_JP@近接スイッチ;ko_KR@근접 센서;lt_LT@Priartėjimo jutiklis;lv_LV@Tuvuma devējs;nl_NL@Naderingsschakelaar;pl_PL@Czujnik zbliżeniowy;pt_PT@Sensor de proximidade;ru_RU@Датчик положения;sk_SK@bezdotykový spínač;sl_SI@Mejno stikalo;tr_TR@Yaklasim sensörü;zh_CN@接近开关;zh_TW@近接感測器;sv_SE@Induktiv givare;da_DK@Cylindersensor;pt_BR@Sensor de proximidade;" P_ARTICLE_DESCR3="de_DE@00991619;en_US@00991619;es_ES@00991619;fr_FR@00991619;nl_NL@00991619;sv_SE@00991619;da_DK@00991619;ru_RU@00991619;zh_CN@00991619;pl_PL@00991619;pt_BR@00991619;cs_CZ@00991619;it_IT@00991619;hu_HU@00991619;pt_PT@00991619;ko_KR@00991619;ja_JP@00991619;lt_LT@00991619;lv_LV@00991619;sk_SK@00991619;sl_SI@00991619;tr_TR@00991619;hr_HR@00991619;zh_TW@00991619;" P_ARTICLE_DISCONTINUED="0" P_ARTICLE_DISCOUNT="0" P_ARTICLE_EXTERNAL_DOCUMENT_1="http://www.festo.com/catalogue/543861
    cs_CZ@Katalog výrobků;de_DE@Produktkatalog;en_US@Product Catalogue;es_ES@Catálogo de productos;fr_FR@le catalogue produit;hr_HR@Katalog proizvoda;hu_HU@Gyártmánykatalógus;it_IT@Catalogo prodotti;ja_JP@製品カタログ;ko_KR@제품 카탈로그;lt_LT@Produktų katalogas;lv_LV@Produktu katalogs;nl_NL@Productcatalogus;pl_PL@Katalog produktów;pt_PT@Catálogo Eletrônico;ru_RU@Каталог продукции;sk_SK@Katalóg produktov;sl_SI@Katalog izdelkov;tr_TR@Ürün Kataloğu;zh_CN@产品样本;zh_TW@產品型錄;sv_SE@Produktkatalog;da_DK@Produktkatalog;" P_ARTICLE_EXTERNAL_DOCUMENT_2="http://www.festo.com/accessory/543861
    cs_CZ@příslušenství;de_DE@Zubehör;en_US@Accessories;es_ES@Accesorios;fr_FR@Accessoires;hr_HR@Pribor;hu_HU@Tartozék;it_IT@Accessori;ja_JP@アクセサリ;ko_KR@액세서리;lt_LT@Priedai;lv_LV@Piederumi;nl_NL@Accessoires;pl_PL@Osprzęt;pt_PT@Acessórios;ru_RU@Принадлежности;sk_SK@príslušenstvo;sl_SI@Pribor;tr_TR@Aksesuarlar;zh_CN@辅件;zh_TW@配件;sv_SE@Tillbehör;da_DK@Tilbehør;pt_BR@Acessórios;" P_ARTICLE_EXTERNAL_DOCUMENT_3="http://www.festo.com/net/SupportPortal/start.aspx?q=543861
    cs_CZ@katalog náhradních dílů;de_DE@Ersatzteilkatalog;en_US@Spare parts catalogue;es_ES@Catálogo de repuestos;fr_FR@Catalogue des pièces de rechange;hr_HR@Katalog zamjenskih dijelova;hu_HU@Pótalkatrész katalógus;it_IT@Catalogo parti di ricambio;ja_JP@スペアパーツカタログ;ko_KR@교체 부품 카탈로그;lt_LT@Atsarginių dalių katalogas;lv_LV@Rezerves daļu katalogs;nl_NL@Wisselstukkencatalogus;pl_PL@Katalog części zamiennych;pt_PT@Catálogo de peças de reposição;ru_RU@Каталог запасных частей;sk_SK@Katalóg náhradných dielov;sl_SI@Katalog nadomestnih delov;tr_TR@Yedek parça kataloğu;zh_CN@备件样本;zh_TW@零件型錄;" P_ARTICLE_EXTERNAL_PLACEMENT="0" P_ARTICLE_GROUPNUMBER="E-P-SEN" P_ARTICLE_GROUPSYMBOLMACRO="$(MD_MACROS)\FESTO\0099xx\V1_00991619.ems" P_ARTICLE_HEIGHT="0" P_ARTICLE_SPACING_ABOVE="0" P_ARTICLE_SPACING_BELOW="0" P_ARTICLE_INSTALLATION_DEPTH="0" P_ARTICLE_IS_ACCESSORY="0" P_PART_LASTCHANGE="EPL / 16.06.2016 13:45:09" P_ARTICLE_MANUFACTURER="FES" P_ARTICLE_MOUNTINGSITE="0" P_ARTICLE_MOUNTINGSPACE="0" P_ARTICLE_NOTE="cs_CZ@spínaný výstup: s kontaktem, bipolární  funkce spínaného prvku: spínač  rozsah provozního napětí DC: 5 ... 30 V  elektrické připojení: kabel s konektorem
    M8x1
    3 piny
    otočný závit  ;de_DE@Schaltausgang: kontaktbehaftet bipolar  Schaltelementfunktion: Schließer  Betriebsspannungsbereich DC: 5 ... 30 V  Elektrischer Anschluss: Kabel mit Stecker
    M8x1
    3-polig
    drehbares Gewinde  ;en_US@Switch output: with contact, bipolar  Switching element function: Normally open contact  Operating voltage range DC: 5 ... 30 V  Electrical connection: Cable with plug
    M8x1
    3-pin
    Turnable threads  ;es_ES@Salida: bipolar, con contacto  Función del elemento de conmutación: contacto de trabajo  Margen de tensión de funcionamiento DC: 5 ... 30 V  Conexión eléctrica: Cable con conector
    M8x1
    3 contactos
    Rosca giratoria  ;fr_FR@Sortie TOR: bipolaire à contact  Fonction d&apos;élément de commutation: Normalement ouvert  Plage de tension de service CC: 5 ... 30 V  Connexion électrique: Câble avec connecteur mâle
    M8x1
    à 3 pôles
    Taraudage mobile  ;hr_HR@Uklopni izlaz: s kontaktom, bipolarno  Funkcija sklopnog elementa: Uklopnik  Područje pogonskog napona DC: 5 ... 30 V  Električni priključak: Kabel s utikačem
    M8x1
    3-polni
    okretljivi navoj  ;hu_HU@Kapcsoló kimenet: érintkezőkhöz rendelt bipoláris  Kapcsoló elem funkció: Záró érintkezők  Üzemi feszültségtartomány DC: 5 ... 30 V  Elektromos csatlakozás: Kábel, dugóval
    M8x1
    3 sarkú
    elfordítható menet  ;it_IT@Uscita di commutazione: A contatto, bipolare  Funzione elemento di commutazione: Contatto Normalmente Aperto  Intervallo tensione d&apos;esercizio CC: 5 ... 30 V  Connessione elettrica: Cavo con connettore
    M8x1
    3 poli
    Filetto orientabile  ;ja_JP@出力スイッチ: 両極性接点  スイッチング機能: ノーマルオープン接点  使用電圧範囲(DC): 5 ... 30 V  配線方式: ケーブル付プラグ
    M8x1
    3ピン
    回転可能ネジ  ;ko_KR@스위치 출력: 접점 포함, 양극  스위칭 부품 기능: 초기상태 열림 접점  작동 전압 범위 DC: 5 ... 30 V  전기 연결: 플러그 포함 케이블
    M8x1
    3-핀
    회전 가능한 나사산  ;lt_LT@Jungiklio išėjimas: Su kontaktu, dvipolis  Komutavimo elemento funkcija: Normaliai atviras kontaktas  Nominalus DC įtampos lygis: 5 ... 30 V  Elektrinis pajungimas: Jungtis su kabeliu
    M8x1
    3-poliai
    Sukamas sriegis  ;lv_LV@Komutācijas izeja: ar kontaktu, bipolārais  Komutācijas elementa funkcija: Normāli atvērts kontakts  Darbības sprieguma diapazons DC: 5 ... 30 V  Elektriskais savienojums: Kabelis ar spraudni
    M8x1
    3-kontaktu
    Pagriežama vītne  ;nl_NL@Schakeluitgang: met contact bipolair  Schakelelementfunctie: NO-contact (maakcontact)  Bedrijfsspanningsbereik DC: 5 ... 30 V  Elektrische aansluiting: Kabel met stekker
    M8x1
    3-polig
    roteerbare schroefdraad  ;pl_PL@Wyjście dwustanowe: Stykowe, bipolarne  Funkcja elementu przełączającego: Styk normalnie otwarty  Zakres napięcia roboczego DC: 5 ... 30 V  Przyłącze elektryczne: Kabel z wtyczką
    M8x1
    3-pin
    Możliwość obracania gwintu  ;pt_PT@Saída de comutação: com contato, bipolar  Função do elemento de comutação: Contato normalmente aberto  Faixa de tensão operacional c.c.: 5 ... 30 V  Conexão elétrica: Cabo com conector
    M8x1
    de 3 pinos
    Rosca giratória  ;ru_RU@Выход переключателя: с контактом, биполярный  Функция переключающего элемента: Нормально разомкнутый контакт  Диапазон рабочего напряжения DC: 5 ... 30 V  Электрическое подключение: Кабель с разъемом
    M8x1
    3-пин
    Поворотные резьбы  ;sk_SK@Spínací výstup: kontaktný, bipolárny  Funkcia spínacieho prvku: spínač  Rozsah pracovného napätia DC: 5 ... 30 V  Elektrická prípojka: kábel so zástrčkou
    M8x1
    3-pólový
    otočný závit  ;sl_SI@Izhod stikala: z bipolarnim kontaktom  Stikalni element: Vklopni kontakt  Območje obratovalne napetosti DC: 5 ... 30 V  Električni priključek: Kabel z vtičem
    M8x1
    3-polni
    vrtljiv navoj  ;tr_TR@Anahtarlama çıkışı: kontakt zorunlu, çift kutuplu  Anahtarlama elemanı fonksiyonu: Normalde açık kontakt  Çalışma gerilimi aralığı DC: 5 ... 30 V  Elektriksel bağlantı: Soketli kablo
    M8x1
    3-pinli
    Dönebilir dişler  ;zh_CN@开关输出: 接触式, 双极性  切换元件功能: 常开触点  工作电压范围 DC: 5 ... 30 V  电连接: 带插头电缆
    M8x1
    3针
    可旋转螺纹  ;zh_TW@開關輸出: 具觸點, 雙極性  切換元件功能: 常開觸點  工作電壓範圍 DC: 5 ... 30 V  電氣連接: 具插頭電纜
    M8x1
    3-pin
    可旋轉螺紋  ;" P_ARTICLE_ORDERNR="543861" P_ARTICLE_PACKAGINGPRICE_1="0" P_ARTICLE_PACKAGINGPRICE_2="0" P_ARTICLE_PACKAGINGQUANTITY="1" P_ARTICLE_PICTUREFILE="$(MD_IMG)\FESTO\9440k_2.jpg" P_ARTICLE_PIECETYPE="1_1_1_1" P_ARTICLE_PRICEUNIT="0" P_ARTICLE_PRODUCTGROUP="8" P_ARTICLE_PRODUCTSUBGROUP="1" P_ARTICLE_PRODUCTTOPGROUP="1" P_ARTICLE_PURCHASEPRICE_1="0" P_ARTICLE_PURCHASEPRICE_2="0" P_ARTICLE_SALESPRICE_1="0" P_ARTICLE_SALESPRICE_2="0" P_ARTICLE_SNAPHEIGHT="0" P_ARTICLE_MIDDLEOFFSET="0" P_ARTICLE_SUPPLIER="FES" P_ARTICLE_REF_TERMINAL_OFFSET_X="0" P_ARTICLE_REF_TERMINAL_OFFSET_Y="0" P_ARTICLE_TYPENR="SME-8M-DS-24V-K-0,3-M8D" P_ARTICLE_WEIGHT="0" P_ARTICLE_WIDTH="0" P_ARTICLE_SPACING_LEFT="0" P_ARTICLE_SPACING_RIGHT="0" P_ARTICLE_EXTERNAL_DOCUMENT_4="http://www.festo.com/cad/543861
    de_DE@CAD;en_US@CAD;es_ES@CAD;fr_FR@CAD;nl_NL@CAD;sv_SE@CAD;da_DK@CAD;ru_RU@CAD;zh_CN@CAD;pl_PL@CAD;pt_BR@CAD;cs_CZ@CAD;it_IT@CAD;hu_HU@CAD;pt_PT@CAD;ko_KR@CAD;ja_JP@CAD;">
      <variant P_ARTICLE_VARIANT="1" P_ARTICLE_ADJUSTRANGE="0" P_ARTICLE_ASSEMBLY_POS_PLACE_SPREADED="0" P_ARTICLE_CABLELENGTH="0" P_ARTICLE_DOORDEPTH="0" P_ARTICLE_DOORHEIGHT="0" P_ARTICLE_DOORMOUNTINGSPACE="0" P_ARTICLE_DOORWIDTH="0" P_ARTICLE_FLOW="0" P_ARTICLE_INTRINSICSAFETY="0" P_ARTICLE_PANELDEPTH="0" P_ARTICLE_PANELHEIGHT="0" P_ARTICLE_PANELMOUNTINGSPACE="0" P_ARTICLE_PANELWIDTH="0" P_ARTICLE_PLCISBUSCOUPLER="0" P_ARTICLE_PLCISBUSDISTRIBUTOR="0" P_ARTICLE_PLCISCPU="0" P_ARTICLE_PLCISPOWERSUPPLY="0" P_ARTICLE_PRESSURE="0" P_ARTICLE_SHORTCIRCUITRESISTANT="0" P_ARTICLE_WIRECROSSSECTION_UNIT="0">
       <functiontemplate functiondefcategory="603" functiondefgroup="99" functiondefid="1" hasled="0" hasplugadapter="0" intrinsicsafety="0" plcbussystem="0" pos="1" safetyrelevant="0" terminalfunction="0"/>
       <functiontemplate connectiondescription="BN" connectionDesignation="1" functiondefcategory="1302" functiondefgroup="1" functiondefid="1" hasled="0" hasplugadapter="0" intrinsicsafety="0" plcbussystem="0" pos="2" safetyrelevant="0" terminalfunction="0"/>
       <functiontemplate connectiondescription="BU" connectionDesignation="3" functiondefcategory="1302" functiondefgroup="1" functiondefid="1" hasled="0" hasplugadapter="0" intrinsicsafety="0" plcbussystem="0" pos="3" safetyrelevant="0" terminalfunction="0"/>
       <functiontemplate connectiondescription="BK" connectionDesignation="4" functiondefcategory="1302" functiondefgroup="1" functiondefid="1" hasled="0" hasplugadapter="0" intrinsicsafety="0" plcbussystem="0" pos="4" safetyrelevant="0" terminalfunction="0"/>
       <functiontemplate functiondefcategory="6003" functiondefgroup="1" functiondefid="1" hasled="0" hasplugadapter="0" intrinsicsafety="0" plcbussystem="0" pos="5" safetyrelevant="0" terminalfunction="0"/>
      </variant>
     </part>
    </partsmanagement>
    

    The Macro as your suggestion is:

    function ClearShortCuts()
    {
    document.selection.Replace("(de_DE|en_EN|zh_CN|fr_FR|it_IT|ko_KR|ru_RU|pl_PL|es_ES|nl_NL|tr_TR|hu_HU|da_DK|cs_CZ|pt_PT|sv_SE|fi_FI|hr_HR|ja_JP|lt_LT|lv_LV|sk_SK|sl_SI|zh_TW|pt_BR)@(.+?);","",eeReplaceAll | eeFindReplaceRegExp,0);
    }

    The result is the following. All semi-comma have been deleted:

    <?xml version=1.0 encoding=utf-8 ?>
    <partsmanagement count=1 length-unit=mm weight-unit=kg type=PartsManagement build=136.22 database=part001.mdb>
     <part P_ARTICLE_PARTTYPE=1 P_ARTICLE_PARTNR=FES.543861 P_ARTICLE_CAN_BE_LINED_UP=0 P_ARTICLE_CERTIFICATE_CE=0 P_ARTICLE_CRAFT_COOLING=0 P_ARTICLE_CRAFT_COOLINGLUBRICANT=0 P_ARTICLE_CRAFT_ELECTRICAL=1 P_ARTICLE_CRAFT_FLUID=0 P_ARTICLE_CRAFT_FLUID_UNDEFINED=0 P_ARTICLE_CRAFT_GASTECHNOLOGY=0 P_ARTICLE_CRAFT_HYDRAULICS=0 P_ARTICLE_CRAFT_LUBRICATION=0 P_ARTICLE_CRAFT_MECHANICS=0 P_ARTICLE_CRAFT_PNEUMATICS=0 P_ARTICLE_CRAFT_PROCESS=0 P_PART_CREATE=fstn / 25.06.2014 09:42:45 P_ARTICLE_DEPTH=0 P_ARTICLE_SPACING_FRONT=0 P_ARTICLE_SPACING_REAR=0 P_ARTICLE_DESCR1=en_US@Proximity Sensor; P_ARTICLE_DESCR3=en_US@00991619; P_ARTICLE_DISCONTINUED=0 P_ARTICLE_DISCOUNT=0 P_ARTICLE_EXTERNAL_DOCUMENT_1=http://www.festo.com/catalogue/543861
    en_US@Product Catalogue; P_ARTICLE_EXTERNAL_DOCUMENT_2=http://www.festo.com/accessory/543861
    en_US@Accessories; P_ARTICLE_EXTERNAL_DOCUMENT_3=http://www.festo.com/net/SupportPortal/start.aspx?q=543861
    en_US@Spare parts catalogue; P_ARTICLE_EXTERNAL_PLACEMENT=0 P_ARTICLE_GROUPNUMBER=E-P-SEN P_ARTICLE_GROUPSYMBOLMACRO=$(MD_MACROS)\FESTO\0099xx\V1_00991619.ems P_ARTICLE_HEIGHT=0 P_ARTICLE_SPACING_ABOVE=0 P_ARTICLE_SPACING_BELOW=0 P_ARTICLE_INSTALLATION_DEPTH=0 P_ARTICLE_IS_ACCESSORY=0 P_PART_LASTCHANGE=EPL / 16.06.2016 13:45:09 P_ARTICLE_MANUFACTURER=FES P_ARTICLE_MOUNTINGSITE=0 P_ARTICLE_MOUNTINGSPACE=0 P_ARTICLE_NOTE=
    M8x1
    3 piny
    otočný závit  ;M8x1
    3-polig
    drehbares Gewinde  ;en_US@Switch output: with contact, bipolar  Switching element function: Normally open contact  Operating voltage range DC: 5 ... 30 V  Electrical connection: Cable with plug
    M8x1
    3-pin
    Turnable threads  ;
    M8x1
    3 contactos
    Rosca giratoria  ;élément de commutation: Normalement ouvert  Plage de tension de service CC: 5 ... 30 V  Connexion électrique: Câble avec connecteur mâle
    M8x1
    à 3 pôles
    Taraudage mobile  ;
    M8x1
    3-polni
    okretljivi navoj  ;
    M8x1
    3 sarkú
    elfordítható menet  ;esercizio CC: 5 ... 30 V  Connessione elettrica: Cavo con connettore
    M8x1
    3 poli
    Filetto orientabile  ;
    M8x1
    3ピン
    回転可能ネジ  ;
    M8x1
    3-핀
    회전 가능한 나사산  ;
    M8x1
    3-poliai
    Sukamas sriegis  ;
    M8x1
    3-kontaktu
    Pagriežama vītne  ;
    M8x1
    3-polig
    roteerbare schroefdraad  ;
    M8x1
    3-pin
    Możliwość obracania gwintu  ;
    M8x1
    de 3 pinos
    Rosca giratória  ;
    M8x1
    3-пин
    Поворотные резьбы  ;
    M8x1
    3-pólový
    otočný závit  ;
    M8x1
    3-polni
    vrtljiv navoj  ;
    M8x1
    3-pinli
    Dönebilir dişler  ;
    M8x1
    3针
    可旋转螺纹  ;
    M8x1
    3-pin
    可旋轉螺紋  ; P_ARTICLE_ORDERNR=543861 P_ARTICLE_PACKAGINGPRICE_1=0 P_ARTICLE_PACKAGINGPRICE_2=0 P_ARTICLE_PACKAGINGQUANTITY=1 P_ARTICLE_PICTUREFILE=$(MD_IMG)\FESTO\9440k_2.jpg P_ARTICLE_PIECETYPE=1_1_1_1 P_ARTICLE_PRICEUNIT=0 P_ARTICLE_PRODUCTGROUP=8 P_ARTICLE_PRODUCTSUBGROUP=1 P_ARTICLE_PRODUCTTOPGROUP=1 P_ARTICLE_PURCHASEPRICE_1=0 P_ARTICLE_PURCHASEPRICE_2=0 P_ARTICLE_SALESPRICE_1=0 P_ARTICLE_SALESPRICE_2=0 P_ARTICLE_SNAPHEIGHT=0 P_ARTICLE_MIDDLEOFFSET=0 P_ARTICLE_SUPPLIER=FES P_ARTICLE_REF_TERMINAL_OFFSET_X=0 P_ARTICLE_REF_TERMINAL_OFFSET_Y=0 P_ARTICLE_TYPENR=SME-8M-DS-24V-K-0,3-M8D P_ARTICLE_WEIGHT=0 P_ARTICLE_WIDTH=0 P_ARTICLE_SPACING_LEFT=0 P_ARTICLE_SPACING_RIGHT=0 P_ARTICLE_EXTERNAL_DOCUMENT_4=http://www.festo.com/cad/543861
    en_US@CAD;>
      <variant P_ARTICLE_VARIANT=1 P_ARTICLE_ADJUSTRANGE=0 P_ARTICLE_ASSEMBLY_POS_PLACE_SPREADED=0 P_ARTICLE_CABLELENGTH=0 P_ARTICLE_DOORDEPTH=0 P_ARTICLE_DOORHEIGHT=0 P_ARTICLE_DOORMOUNTINGSPACE=0 P_ARTICLE_DOORWIDTH=0 P_ARTICLE_FLOW=0 P_ARTICLE_INTRINSICSAFETY=0 P_ARTICLE_PANELDEPTH=0 P_ARTICLE_PANELHEIGHT=0 P_ARTICLE_PANELMOUNTINGSPACE=0 P_ARTICLE_PANELWIDTH=0 P_ARTICLE_PLCISBUSCOUPLER=0 P_ARTICLE_PLCISBUSDISTRIBUTOR=0 P_ARTICLE_PLCISCPU=0 P_ARTICLE_PLCISPOWERSUPPLY=0 P_ARTICLE_PRESSURE=0 P_ARTICLE_SHORTCIRCUITRESISTANT=0 P_ARTICLE_WIRECROSSSECTION_UNIT=0>
       <functiontemplate functiondefcategory=603 functiondefgroup=99 functiondefid=1 hasled=0 hasplugadapter=0 intrinsicsafety=0 plcbussystem=0 pos=1 safetyrelevant=0 terminalfunction=0/>
       <functiontemplate connectiondescription=BN connectionDesignation=1 functiondefcategory=1302 functiondefgroup=1 functiondefid=1 hasled=0 hasplugadapter=0 intrinsicsafety=0 plcbussystem=0 pos=2 safetyrelevant=0 terminalfunction=0/>
       <functiontemplate connectiondescription=BU connectionDesignation=3 functiondefcategory=1302 functiondefgroup=1 functiondefid=1 hasled=0 hasplugadapter=0 intrinsicsafety=0 plcbussystem=0 pos=3 safetyrelevant=0 terminalfunction=0/>
       <functiontemplate connectiondescription=BK connectionDesignation=4 functiondefcategory=1302 functiondefgroup=1 functiondefid=1 hasled=0 hasplugadapter=0 intrinsicsafety=0 plcbussystem=0 pos=4 safetyrelevant=0 terminalfunction=0/>
       <functiontemplate functiondefcategory=6003 functiondefgroup=1 functiondefid=1 hasled=0 hasplugadapter=0 intrinsicsafety=0 plcbussystem=0 pos=5 safetyrelevant=0 terminalfunction=0/>
      </variant>
     </part>
    </partsmanagement>
    #23558
    Stefan
    Participant

    So now you come with information!

    If you have the same pattern on other places too, it is normal that they are deleted there too.

    And your statement (((search “de_DE@(.+?);”, it works correctly))) is not true,
    as this removes the pattern on other place too as well with the normal Search&Replace dialog.

    – – –

    So conclusion, you can’t utilize RegEx here,
    as for example “de_DE@(.+?);” would much on too many places:

    de_DE@Produktkatalog;
    de_DE@Zubehör;
    de_DE@Ersatzteilkatalog;
    de_DE@CAD;
    de_DE@Näherungsschalter;
    de_DE@00991619;
    de_DE@Stromversorgung;

    Better search for the complete unwanted strings:
    de_DE@Stromversorgung;
    ru_RU@Источники итания;
    pl_PL@Zasilacz;
    zh_CN@电源;
    es_ES@Alimentación de corriente;
    ….

    And next time, please provide better information at first place ;-)

    Bye.
     

    #23559
    Stefan
    Participant

    >>> as for example “de_DE@(.+?);” would much on too many places: <<<

    I meant >>>> “match”

     

    Sorry.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.