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
How are sessions maintained?
What is php session_start() and session_destroy() function?
What is an operator in php?
Which character is used to match exactly one character?
Can a trait extend a class php?
Define object-oriented methodology?
How to call php function in jquery?
What is the use of friend function in php?
Explain about objects in PHP?
What is static method php?
What is "echo" in php?
Explain me what is the importance of "method" attribute in a html form?
Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?
Can I learn laravel without php?
How to insert a line break in php string?