Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write a regular expression to get the value xxx from the
string 'xxx@yyy.com'

Answer Posted / arun

set chk "xxx@yyy.com"

if {[regexp {([a-z]+)} $chk match one ]} {

puts $one
}

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is final class and final method in php?

1064


Which is the dependent variable?

922


Are php sessions secure?

985


When to use single quotes, double quotes, and backticks?

984


Tell me what is the difference between the functions strstr() and stristr()?

1066


Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.

2009


Does cors prevent csrf?

961


What is strcmp?

960


Which is correct about mysqli and pdo?

1094


Write a program to upload a file in php?

1023


How to stop the execution of php script?

986


> symbol is used to redirect the output of a command. State Whether True or False?

1163


What is escape data in php?

950


How to connect to mysql from a php script?

1070


What does sign mean php?

986