Write a regular expression to get the value xxx from the
string 'xxx@yyy.com'
Answer Posted / ren
set url "xxx@yyy.com"
regexp {([^@]+)@([^.]+).([a-z]+)} $url match
puts " Match....$match"
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the Default syntax used in PHP?
What software is required to run php?
What is use of in_array() function in php?
Is empty in php?
What was the old name of php?
Why we use get in php?
What is php sequence?
List some features of php that are deprecated in php7?
I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable
What is inheritance in php with example?
What is difference between put and post method in http?
What is a definer in mysql?
How to remove html tags from data in php?
What is use of header() function in php? What the limitation of header()?
What is the difference between require_once and require in php?