i want to search for a string in the current HTML page which occurs betwwen two specified strings.... for example if my current html page contains "what is your name?" and i want to search for string between "what" and "name" so it should return " is your " basically it should be somthing simillar to php's pragma_match any replies will higly be appericiated thx