Hi

I have a line as shown below:

//abc/... (<sometext>)

Now i want to substitute (<sometext>) with blank space. How do i do it.

I tried s/\(\Q<sometext>\)//g. This isnt working. 

Next i have a line as below

//abc#4. 

Now i want an output //abc. So how do i remove the numeric value and the preceding #?

Regards
Sudhindra

Reply via email to