Write a simple regular expression to match an IP address,
e-mail address, city-state-zipcode combination.
Answer Posted / leo
/(\d+)(\.\d+){3}/)
Is This Answer Correct ? | 4 Yes | 16 No |
Post New Answer View All Answers
What are arrays in perl?
What syntax is used for grep() function?
Explain splicing of arrays?
What does length(%HASH) produce if you have thirty-seven random keys in a newly created hash?
Explain socket programming in perl?
What does this symbol mean '->'?
How to concatenate strings in perl?
Why to use perl scripting?
Where do we require ‘chomp’ and what does it mean?
What are the different ways to run cgi?
how to get back up from private character editor which is saved in the format of .udf
What is the purpose of goto expr statement?
What is warn function in perl?
What are the various advantages and disadvantages of perl?
How will you open a file in a write-only mode in perl?