Am 17.12.2011 um 09:26 schrieb Stefan Mettenbrink:

> 
> Hat keiner eine Idee dazu?


Die Übersetzung:

  dim r as new RegExMBS
  dim searchString as string = "^$"
  
  r.CompileOptionCaseLess = false
  r.CompileOptionNewLineAny = true
  r.ExecuteOptionNewLineAny = true
  r.CompileOptionMultiLine = true
  
  if r.Compile(searchString) then
    
    dim s as string="Hello World"+EndOfLine+EndOfLine+"Hello"+EndOfLine
    dim w as string = r.ReplaceAll(s, "Würzburg")
    
    MsgBox w
    
  else
    MsgBox "failed to compile"
  end if

Aber ich schick dir noch ein neues Plugin. Ich hab noch 'nen Bug gefunden beim 
ReplaceAll.

Gruß
Christian

-- 
Real World 2012, 24./25. Mai 2012 in Orlando, Florida, USA.

Weitere Informationen und Anmeldung auf: 
http://www.realsoftware.com/community/realworld.php








Antwort per Email an