The above code is replacing every <p> with <con>.
No, just the first. You'd need to add /g to make it replace every instance.
You said you needed to search the file. You aren't searching every line, right?
In reply to Re^3: Set the flag
by ikegami
in thread Set the flag
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |