Is this even possible using Grep?

I have a variable string towards the top of each document that looks like:

<title1>Variable string with unknown number of words, digits, spaces and 
returns</title1>

I have another variable string a little further down in each document that 
looks like:

<h1>Variable string with same unknowns as the first variable string</h1>

I want to replace the 2nd string with the first string.

Any ideas would be appreciated. Thanks!


-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to