Put parentheses around the regex you want to "capture" and then reference that capture in the replace pattern.
I'm assuming you want it to end up like: <input #text# #City# #City# /> Find: \w+="(.+?)" ? Replace: #\1# The \1 reference inserts whatever is inside the parentheses. -- 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>
