Write a simple regular expression to match an IP address,
e-mail address, city-state-zipcode combination.
Answer Posted / sanjiv
/(\d{3}\.){3}\d+/
Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
Write a script to reverse a string without using perl's built in functions?
What is subroutine in perl?
What happens to objects lost in "unreachable" memory, such as the object returned by Ob->new() in `{ my $ap; $ap = [ Ob->new(), $ap ]; }' ?
What is the usage of -i and 0s options?
What is the use of -t?
What exactly is grooving and shortening of the array?
How can you define “my” variables scope in Perl and how it is different from “local” variable scope?
Which functions in Perl allows you to include a module file or a module and what is the difference between them?
Explain grooving and shortening of arrays and splicing of arrays?
Hi, I am a accountant. I am preparing a balance sheet but because of staff shortage and time pressures I cant complete it on time. There is lot of common data with last years which I need not retype and I can manage by editing last year’s balance sheet ? Is their any software on net where I can do this easily??
Does Perl have reference type?
What does the qq{ } operator do?
What is the purpose of redo statement?
Explain what is lvalue?
what are the two ways to get private values inside a subroutine or block?