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
Is apache needed for php?
What are differences between PECL and PEAR?
What are the benefits of using php?
What is use of htmlspecialchars php?
Does csrf token change?
What is Gd PHP?
How do you pass a variable by value in php?
What is a string in php?
How to convert strings to upper or lower cases?
Does php require a web server?
How to uploaded files to a table?
What does $_env mean?
What is the difference between runtime exception and compile time exception?
How to create database connection and query in php?
Why many companies are switching their current business language to php? Where php basically used?