Skip to content
WJunction - Webmaster Forum

Lulzimg preg_replace help

Status
Not open for further replies.

2 comments

PHP:
echo preg_replace('/http:\/\/lulzimg.com\/(.*?)\/(.*?)\n/','http://$1.lulzimg.com/i/$2',$string."\n");

^ see if it works out good
 
Wow man that was fast! Haha I was butting my head trying to figure out that one with just doing long preg_match codes lolz. Thanks! Rep+++
 
Status
Not open for further replies.

About the author

M
Senior Member · Joined
1,420
Messages
56
Reactions
48
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom