Write a simple regular expression to match an IP address,
e-mail address, city-state-zipcode combination.
Answer Posted / gopal
I hope this is the right way to match IP address
/((\d{1,3})(\.)){3}\d{1,3}/
Is This Answer Correct ? | 12 Yes | 24 No |
Post New Answer View All Answers
Explain gmtime() function in perl?
What is a perl references?
what are prefix dereferencer and list them out?
How interpreter is used in perl?
What are the various perl data types based on the context?
What are the various file operations in perl. Explain with example.
What is the use of -t?
What are the purpose of close(), getc() and read() functions?
How many types of variable in perl?
What is 'rollback' command in perl?
what is perl language?
How can you call a subroutine and identify a subroutine?
What does `new $cur->{LINK}' do? (Assume the current package has no new() function of its own.)
Can we load binary extension dynamically?
What is the difference between use and require in perl?