Matching pattern in multiple lines

2004-04-07 Thread prabu
Hello All, Thanks for the useful informations given on my previous queries.Now I have another one query. Please help me. In pattern matching,I want to match a pattern in multiple line.How to do this?. For example,in a file,the pattern is present in 2 lines, Here my doubts are: 1.Whether need t

RE: Matching pattern in multiple lines

2004-04-07 Thread Jayakumar Rajagopal
-Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of prabu Sent: Wednesday, April 07, 2004 9:35 AM To: [EMAIL PROTECTED] Subject: Matching pattern in multiple lines Hello All, Thanks for the useful informations given on my previous queries.Now I have another one query

Re: Matching pattern in multiple lines

2004-04-07 Thread Rob Dixon
Prabu wrote: > > In pattern matching,I want to match a pattern in multiple line.How to do > this?. > > For example,in a file,the pattern is present in 2 lines, > Here my doubts are: > > 1.Whether need to use "/n" to distinguish between 2 lines,when decalring > them? > Or anyother operator ne

Re: Matching pattern in multiple lines

2004-04-07 Thread prabu
Thanks for the reply, the want to replace the $pattern in a .html file,with a $repalce the $pattern="http://ramesh.com/images/corner_2.gif"; width=10> $replace="a javascript variable""/images/corner_2.gif" width=10>" my repalce is donw with the command inside file operation