Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: What is regular expression for the following thing?

by luckypower (Beadle)
on Oct 20, 2008 at 09:13 UTC ( [id://718170]=note: print w/replies, xml ) Need Help??


in reply to What is regular expression for the following thing?

hey sanjay ,
use this one..
 if ($text =~ /^(REGISTER|INVITE|BYE)\s\w+(-|@|_)\w+\.\w+\sSIP\/2\.0$/)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://718170]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2024-04-25 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found