On Thu, 2005-02-17 at 15:24 +1100, Keith Bates wrote: > Hi, > > I want to take a magicpoint file which looks like this: > > %page > %nodefault > %tfont "arial.ttf" > % bimage "../Photos/treetops.jpg" 1630x1220 > %center, size 7, fore "white" > > ALL ABOUT YOU > > More text etc.. > > > I would like to strip out all lines beginning with a % and leave all > other lines intact. > > Can someone please tell me how to do this with regular expressions? > > Thanks
Keith, I think the regex chapter in the user manual(s) will help you. Please have a look at what is available at http://documentation.openoffice.org/manuals/index.html -- Documentation Co-Lead PLEASE - keep list traffic on the list. Email sent directly to me may be ignored utterly. "Dinna meddle wi' things ye ken nuthin' aboot!" J.Herriot --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
