Write a regular expression to get the value xxx from the
string 'xxx@yyy.com'
Answer Posted / tclgeek.com
set url "xxx@yyy.com"
regexp {(\w+)@.+\.com} $url match
puts "Match is--->$match"
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to parse configuration file in php?
What does the scope of variables means?
What is ltrim?
How to support multiple-page forms?
Do you know what is the function func_num_args() used for?
How to create a mysql connection in php?
Write down the code for save an uploaded file in php.
Does php has a future?
What is empty php?
How is a session id generated?
How do you display the output directly to the browser?
How to remove duplicate values from php array?
What is http php?
Write a program to find the factorial of a number in php?
What is uniqid php?