Help with grep searchand replace

2008-09-19 Thread aucGeorge
We are using text factory to clean up some html code. We have no experience using grep and are not finding/understanding what we need in the manual or tutorials for BBedit. I'm hoping someone here might know the answer. We would like to search and replace all instances of in a document and repla

Re: Help with grep searchand replace

2008-09-19 Thread Oliver Boermans
2008/9/20 aucGeorge <[EMAIL PROTECTED]>: > > We would like to search and replace all instances of > in a document and replace it with > > but we need to add the closing tag at the end of the line also. > > So, > Product Specifications > > would become > Product Specifications Try this. Find:

Re: Help with grep searchand replace

2008-09-19 Thread Jonathan Lundell
On Sep 19, 2008, at 6:14 PM, Oliver Boermans wrote: > 2008/9/20 aucGeorge <[EMAIL PROTECTED]>: >> >> We would like to search and replace all instances of >> in a document and replace it with >> >> but we need to add the closing tag at the end of the line also. >> >> So, >> Product Specificatio

Re: Help with grep searchand replace

2008-09-20 Thread [EMAIL PROTECTED]
On 19-Sep-2008, at 19:14, Oliver Boermans wrote: > ([^<]*) See? there it is again. [^<]* (or [^<]+) is the meat and potatoes of grep search and replace in HTML/XML. -- "Katrina, $4 gas, a trillion dollar war, rising unemployment, deregulated housing market, global warming...NO MORE!