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