Write a regular expression to get the value xxx from the
string 'xxx@yyy.com'
Answer Posted / 23626
set url "xxx@yyy.com"
regexp {[^@]+} $url M1
puts $M1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between session and cookie in PHP?
What does odbc do in context with php?
What is the use of imagetypes() method?
can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????
What are major variables in research?
Tell me what is the difference between exception::getmessage and exception::getline?
What is the difference between characters 23 and x23?
How to get a total number of rows available in the table?
What are the two main string operators?
What is the integer?
How to make a class in php?
Which one is best framework for php?
What is repository in php?
Difference between $message vs. $$Message in php.
How can you increase the maximum execution time of a script in php?