Thank you!

On Tuesday, March 28, 2017 at 3:49:58 PM UTC-5, Tom Robinson wrote:
>
> That’s an easy one :] 
>
> Search for this: 
>
> ^<owd>.+</owd>$ 
>
> ^  says look for '<owd>’ at beginning of line 
> .  look for any character 
> +  …one or more times 
> $  says look for '</owd>’ at end of line 
>
> Cheers 
>
>
> > On 2017-03-29, at 08:55, Nikao <ja...@nbmail.org <javascript:>> wrote: 
> > 
> > I am very new to Grep and was wondering if some one could help with 
> this. 
> > 
> > I want to replace the whole line of code that starts with: 
> > 
> > <owd> 
> > 
> > and ends with 
> > 
> > </owd> 
> > 
> > In the middle the content will not be the same in every document. That 
> is why I want to be able to find a line that starts and ends like that and 
> replace the whole line of code. 
> > 
> > Example entries: 
> > 
> > <owd><![CDATA[<notrans>test 1</notrans>]]></owd> 
> > <owd><![CDATA[<notrans>test 2</notrans>]]></owd> 
> > <owd><![CDATA[<notrans>test 3</notrans>]]></owd> 
> > <owd><![CDATA[test 4]]></owd> 
> > <owd><![CDATA[test 5]]></owd> 
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to