>So, can anyone show how to solve the original problem using (?R)? I'd love to
>see more examples than what the docs provide.
I don't think you could do it in one pass. It would be possible if look-behind
assertions could be of variable length, but they can't.
Find "(?<=<a href="[^"]+) +"
Replace "_"
(Both without the quotes.)
I suppose if you wanted to automate something like this and could not just
repeat a simple search & replace until no more matches were found then you
might do something like this:
Find:
(?<=<a href=)("[^"]+")
Replace:
\1=href
Find:
+(?=[^"]+"=href)
Replace:
_
Find:
(?<=")=href
Replace with nothing
James
--
------------------------------------------------------------------
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]>