bob51200
unread,Jan 1, 2009, 9:37:01 PM1/1/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to BBEdit Talk
I'm trying to find the character or string to use in a batch grep find/
replace pattern that will insert the file's name into the result.
Here's my grep replace pattern:
<a class="viewLink" id="\1" href="_" onClick="viewSection('\2');">
\3<strong>+</strong></a>
In the search pattern, there's a # sign in the link (href="#"), and I
want to replace the # sign with the filename. I've found Perl's
charater: $file, but it doesn't work in grep.
So, is there a character that will allow me to do this, or am I out of
luck?
TIA,
Bob