I have text like (similar) to this throughout my file:
<td>
[<a href="/abc123/handouts/files/directory1/somename.pdf" target="_blank">Slides</a> ] [ [<a href="/abc123/handouts/files/directory2/somename2.pdf" target="_blank">Handout</a> ]</td>
<td>
[<a href="/abc123/handouts/files/directory3/somename343.pdf" target="_blank">Slides</a> ] [ <a href="/abc123/handouts/files/directory5/somename2324.pdf" target="_blank">Handout</a> ]
</td>
Everything after the "/abc123/handouts/files/" text will be different (directory and .pdf name)
I cant seem to fully figure out how to replace JUST the "directory3/somename343.pdf" portion with say: "XXXXXXX"
my attempts have either produced nothing, or have removed the rest of the line after the first match?
my attempt:
Search For:
<a href="/abc123/handouts/files/.*."
Replace with:
<a href="/abc123/handouts/files/xxxxxxx"
leaves me with this:
[ <a href="/abc123/handouts/files/xxxxxxx">Handout</a> ]
completely removing the first line (link)?
What am I doing wrong? and more so, how is it done correctly?
Thanks!
sedok?