Write a simple regular expression to match an IP address,
e-mail address, city-state-zipcode combination.
Answer Posted / tclgeek
{(^[1-9]|^[0-9][0-9]|^1[0-9][0-9]|^2[0-5][0-5])\.([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-5][0-5])\.([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-5][0-5])\.([0-9]$|[0-9][0-9]$|1[0-9][0-9]$|2[0-5][0-4]$)}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to determine strings length in perl?
Explain what is lvalue?
How many data types are there in perl?
Explain about the applications of perl?
How to replace perl array elements?
What is a perl references?
What are the functions that can be performed using cgi program?
What are the arguements we normally use for perl interpreter?
How to find the length of an array in perl?
How to close a directory in perl?
What are the various uses of perl?
How many types of primary data structures in Perl and what do they mean?
There is no strict data types in perl unlike in other high level languages like Java so wouldn't that be a problem if a code in perl is to be a written by a big team of 20+ members ?"
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??
Suppose an array contains @arraycontent=(‘ab’, ‘cd’, ‘ef’, ‘gh’). How to print all the contents of the given array?