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 many types of inheritances used in php and how we achieve it.
Explain me difference between mysql_connect and mysql_pconnect?
Will react hooks replace redux?
What is cookie in php with example?
What is the best php framework 2018?
How can you get the size of an image in PHP?
How do you trim spaces in excel?
What is singleton class in php?
What is php session and how it works?
What is the function file_get_contents() useful for?
Can we use onclick in submit button?
What is php artisan tinker?
Why does sql injection happen?
What is the use of array_search() in php?
How to send a cookie to the browser?