954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Problem With Regular Expression

Dear Friends,

<a href="javascript:void(0)" onclick="javascript:chatWith('babydoe')">Chat With Baby Doe</a>


Please convert this into regular php expression please.

Thanks in advance

krishwebdesigne
Light Poster
27 posts since May 2011
Reputation Points: 14
Solved Threads: 1
 

What exactly do you want grep'd ?

pritaeas
Posting Expert
Moderator
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 
<a href="javascript:void(0)" onclick="javascript:chatWith('babydoe')">Chat With Baby Doe</a>


When i'm making with this in php see ..

echo "<a href='javascript:void(0)' onclick='javascript:chatWith('babydoe')'>Chat With Baby Doe</a>";


what will put the chatWith('babydoe') i want to know. when i was putting chatWith(."babydoe".) its roughing an error, Please help me

krishwebdesigne
Light Poster
27 posts since May 2011
Reputation Points: 14
Solved Threads: 1
 

You want this ?

echo "<a href='javascript:void(0)' onclick=\"javascript:chatWith('babydoe')\">Chat With Baby Doe</a>";
pritaeas
Posting Expert
Moderator
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

Thanks bro, its worked !

krishwebdesigne
Light Poster
27 posts since May 2011
Reputation Points: 14
Solved Threads: 1
 

Please consider to mark this thread solved.

pritaeas
Posting Expert
Moderator
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: