I can search for n with /n/
I can search for <td>
with /\<td\>/
But how can I search for <td>n
?
When I try /\<td\>n/
i get not found
I'm trying to target the <td>name=
I can search for n with /n/
I can search for <td>
with /\<td\>/
But how can I search for <td>n
?
When I try /\<td\>n/
i get not found
I'm trying to target the <td>name=
You must search for <td>n
. The escaped version searches for a single isolated word td
followed by n
.
\<word\>
pattern is useful for searching words even when they are separated by other stuff than whitespace or appear at the beginning or end of the line.
So try: /<td>name=
td.n
The . matches any character to goes to next td<something>n. – steve Aug 8 '15 at 21:26