Welcome to WebmasterWorld Guest from 54.160.163.163

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Little search and replace question.

     

Jesse_Smith

3:20 am on Jul 29, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



$url =~ s*<p class="largefont">View Full Version : <a href="http://www.domain.com/files.php\?t=([^&]+?)">([^&]+?)\&quot\;([^&]+?)</a></p>**g;

Is there any way to have just one little ([^&]+?) like code instead of...

([^&]+?)\&quot\;([^&]+?)

and having a search and replace for both links with &quot; and with out?

janharders

7:22 am on Jul 29, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



([^<]+?)

should do the trick.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month