Jump to content

toto

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by toto

  1. Thanks stever that's all i want
  2. When I try the flag 1 to have the matching pattern in an array, that's doesn't walk on Win XP SP2 $stest="Bonjour monsieur, untel untel" $sPattern = "untel" $nflag="1" $stest1= StringRegExp($stest, $sPattern,$nflag) Msgbox(0,"",@extended) MsgBox(0, "Regular Exp[b][/b]ression Replace Test", StringRegExpReplace($stest, $sPattern, "toto")) Msgbox(0,"",$stest1)
  3. Sorry i don't formulate correctly my demand $phrase= "Bonjour, 01000, LYON" I want to eliminate the comma after 01000 searching in the phrase 01000, replacing with 01000. may be the second var will be 'Bonjour, 02000, AISNE" and with this sentence it's 02000, which need to be remplaced by 02000 In fact i load a file composed of 1000 adress in which the zip code and the town are separated by a comma and i want to eliminate the comma betwween zip code and town. Particularity : The position of the zip code isn't a fix position. Hope to find a solution. Thanks
  4. $phrase = "BONJOUR, MONSIEUR" Is someone can indicate me how can i do with regular expression to transform "BONJOUR, MONSIEUR" in "BONJOUR CHER MONSIEUR" replacing "," with "CHER" Thanks in advance
  5. Merci JPM. En ce qui concerne SCITE celui-ci me retourne des messages d'erreur. Existe-il une solution ou bien celà ser réglé uniquement avec la release ?
  6. Stupid question : I want to compile my .au3 created with com functions. And when i want to comile the exe gives me error and refuse to be created. Is someone can explain me while ? Thanks
×
×
  • Create New...