How do you match the character ^ at the beginning of the
string? - ^^

How do you match the character ^ at the beginning of the string? - ^^..

Answer / subhash

echo ereg("^[\^]","^subhash");

Is This Answer Correct ?    14 Yes 1 No

Post New Answer

More PHP Interview Questions

How can post form values with out press submit button

5 Answers  

hi i am complted my and i want to learn php is php is good for my career and i want to know the salary growth on php any one can tell the answer plz and i am learning php myself it is easy to understand..........

3 Answers  

code to see the priview of the image which is being uploaded (after browising the image... just click priview ... how it will be visible...before uploading)

0 Answers   Satyam,

What is meant by nl2br()?

4 Answers   Rushmore Consultancy,

discuss the issue of software theft in ghana and how it has affected the economy

0 Answers  

is php is the best for this situation

2 Answers  

How can we extract string '' from a string '' using regular expression in PHP?

4 Answers  

what is the dirrence in PHP4 & PHP5 . ?

8 Answers  

Why is PHP-MySQL frequently used for web (Portal) Development?

5 Answers   Wipro, T3 Softwares,

How can I make a script that can be bilanguage (supports English, German)?

3 Answers  

List out the predefined classes in PHP?

11 Answers  

hi, i have knowledge about PHP/MYSQL,i am fresher M.Sc-IT 2009 pass out,any recruitment in PHP please let me know.

0 Answers