Page 1 of 1
How do I replace an entire line of text that has a certain c
Posted: Fri Oct 26, 2012 7:10 pm
by dan
How do I replace an entire line of text that has a certain character on it?
Re: How do I replace an entire line of text that has a certa
Posted: Fri Oct 26, 2012 8:42 pm
by Fool4UAnyway
You simply look for that specific character and accept anything that surrounds it.
Find:
^.*#.*$
Replace by:
{enter your desired text here}
. = dot, means "any character"
* = asterisk, means: accept any consecutive string of the preceding character(s), requiring none at all
# : enter your specific character here instead
Re: How do I replace an entire line of text that has a certa
Posted: Fri Oct 26, 2012 9:14 pm
by Dan
thank you!