Write a regular expression to get the value xxx from the
string 'xxx@yyy.com'
Answer Posted / tclgeek
set url "xxx@yyy.com"
regexp {([^@]+)@([^.]+).([a-z]+)} $url match match1
puts " Match....$match1"
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is php and its advantages?
Which array function checks if the particular key exists in the array?
How to make horizonatl menu and vertical menu responsive
What is $_ request in php?
How to protect special characters in query string?
What is the use of $_server and $_env?
iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not
What are php applications?
When use javascript vs php?
What is a namespace in php?
What is a path Traversal?
What is serialization in php?
What is the basic function to search files for lines (or other units of text) that contain a pattern.
What is mvc php?
What is htmlentities function in php?