I apologize for the basicness of this question, I am new to regular
expressions and am having trouble getting my mind around the syntax.
My question is how find and replace something that has two consistent
markers, but a lot of variation inbetween, that covers multiple lines.
e.g.:

<head>
<varying tags>
other text not in tags
<more> stuff
<title>

I want to replace everything between <head> and <title>

Through reading the BBEdit manual, I was able to find out .*? would
act as my non-greedy wildcard except that it get caught on the line
breaks. I see that there are special characters for line breaks (in
this case it looks like \r) and other wildcards that include
linebreaks (like \s), but I can't figure out how to add either one to
the expression. Would someone please tell me how to do this and why it
works?

Thanks in advance for any help with this.

--
Douglas Knapp
Technology Coordinator
American Bar Association
General Practice, Solo & Small Firm Division
knappd2@

Visit us online:  http://abanet.org/genpractice

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to