Hi,
I am facing problem to serach the new line also in the regular expression.
For example:-
<!--
<td>
now her i want a regular expression where it has to check for the <!-- and come to the
new line and also check whether if there is a <td> in the given file if it finds it
has to replace with a other string.
this is what i tryed on the command prompt.
perl -pi -e 's{^<!--\n<td>}{test}' hello.txt
but this command is not working .. so anybody kindly please help me in getting a
regular expression for this.
thanks in advance.
praveen.