Write a regular expression to get the value xxx from the
string 'xxx@yyy.com'
Answer Posted / tclgeek
set url "xxx@yyy.com"
regexp {([^@]+)@([^.]+).([a-z]+)} $url match match1
puts " Match....$match1"
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a php tag?
What is data type in php?
Where php language is used?
What are the two types of variables?
When to use self over $this?
Why do we use htaccess
Does empty check for null?
Php program to generate fibonacci series?
What is apache and php?
What are the new features available in php 7?
What is the difference between static and dynamic websites?
Can constructor be private in php?
What is a php array?
Explain the purpose of output buffering in php.
How to make horizonatl menu and vertical menu responsive