Write a regular expression to get the value xxx from the
string 'xxx@yyy.com'
Answer Posted / ren
set url "xxx@yyy.com"
regexp {([^@]+)@([^.]+).([a-z]+)} $url match
puts " Match....$match"
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What enctype is required for file uploads to work?
Can php variables have numbers?
How can we access the data sent through the url with the post method?
How long do php sessions last?
Is it easy to learn php?
Can we use onclick in submit button?
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?
Who developed php?
What is split function in php?
Explain converting an object?
Explain do you use composer? If yes, what benefits have you found in it?
What is the use of mysql_fetch_assoc in php?
Why json is used in php?
Explain me is multiple inheritance supported in php?
Which MySQL function would you use to select a database?