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
Explain about the $_GET variable of PHP?
What is the use of the function htmlentities?
What is difference between strstr() and stristr()?
What does php do?
Is server side a session?
How to submit form without a submit button.
What are the different types of statements that are present in php?
Tell me can the value of a constant change during the script's execution?
What does $_ post mean in php?
Do I need apache for php?
Why namespace is used in php?
Can you explain, when to use if-else if-else over switch statements?
What is constructors and destructors?
Why is overriding runtime?
How to call javascript function in php on button click?