S
Sooraj S
Hi,
My data file :
-------------------
// abc def
//
// abc dser
//
----------------------
i want to remove the lines 2 and 4 from the file.
check criteria : line should start with // and one or more spaces only
as the other characters.
i tried this .. if (/^\/\/(\s)*/ ... but it shows entire lines..
How to do it using regular expressions ? Is there any way to find the
end of a word using regular expressions ?
My data file :
-------------------
// abc def
//
// abc dser
//
----------------------
i want to remove the lines 2 and 4 from the file.
check criteria : line should start with // and one or more spaces only
as the other characters.
i tried this .. if (/^\/\/(\s)*/ ... but it shows entire lines..
How to do it using regular expressions ? Is there any way to find the
end of a word using regular expressions ?