How can we extract string ?allinterview.com ? from a string
?http://info@allinterview.com? using regular expression of PHP?
Answer Posted / pinky
if (ereg("allinterview.com",
"http://info@allinterview.com", $temp) )
print $temp[0];
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Is runtime polymorphism overriding?
Explain me differences between get and post methods?
Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
How long is session timeout?
What is string and its function?
What are psrs? Choose 1 and briefly describe it?
How to run a php script?
How many records can be stored in mysql table?
Is php outdated 2019?
What is the difference between array_map () and array_shift ()?
What is php? Why it is used?
What are the rules to declare a php variables?
What is htmlentities function in php?
What are the advantages of oops in php?
How to check a variable is an array or not in php?