I need to replace all occurrences of this phrase <extern>0</extern> with nothing (delete the line). The problem is the "0" will be different on each entry. Is there a way to specify a wildcard to remove the entire line and the "0" in it?
for example:
Find What: <extern>(Any value here)</extern>
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Note that "Regular expression" needs to be checked when doing the search and replace suggested by Robert.
This is a very powerful feature which makes it possible to specify a lot of different wildcards. E.g if you only wanted to delete those lines where there is a single number between the externs:
<extern>\d</extern>
Or when there is at least one digit:
<extern>\d+</extern>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I need to replace all occurrences of this phrase <extern>0</extern> with nothing (delete the line). The problem is the "0" will be different on each entry. Is there a way to specify a wildcard to remove the entire line and the "0" in it?
for example:
Find What: <extern>(Any value here)</extern>
Thanks
Find What: <extern>.*</extern>\R?
Replace With: clear box
Note that "Regular expression" needs to be checked when doing the search and replace suggested by Robert.
This is a very powerful feature which makes it possible to specify a lot of different wildcards. E.g if you only wanted to delete those lines where there is a single number between the externs:
<extern>\d</extern>
Or when there is at least one digit:
<extern>\d+</extern>