SuperEdi
User: Guest
Search
Please use the Bug Report Form if you think you found a software defect.
Use the Contact Form to send a personal message to Wolfgang.
RSS Feed
Posted on: SuperEdi
L.Verneuil
2006-04-01 12:06:09
wildcard characters
I am looking for a script which is able to delete all text between some characters, then using wildcard characters.Is there any possibility ?
Exemple: delete all text between icon=" and ".icon="qert;ugks53dkshs7787jhz hjzhs"icon="sg786sfg"
expected result:icon=""icon=""
Wolfgang Loch
2006-04-01 12:22:45
Re: wildcard characters
Document.Text = Document.Text.replace(/icon=".*?"/g, 'icon=""')
Execute this with the Tools/Run Script dialog
2006-04-01 14:38:59
Thanks ! It works perfectly !