Hi,
 
I am a beginner in perl and am having a dickens of a time trying to  identify 
this pattern in messages.  [URL
 
Here is what I have:
 
             if  ($FORM{'message} =~ /\[URL/ig)  {
#do  something;
}

Where $FORM('message') is a messaage that includes many lines and  
[url=http://www.mywebspace.com[/url].  But this doesn't result in true even  
though I 
know the message contains the string [url. Can anyone tell me what  could be 
the 
problem? Or perhaps a better way to identify a messages with the  [url 
anywhere in it. Thanks for any help.
 
 

Reply via email to