View Single Post
Old 05-09-2012, 06:11 AM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,241
Quote:
Originally Posted by Barry-xlovecam View Post
Code:
sed -i 's/x/y/g'
not /i
got it with sed

Quote:
[fris@fris ~]$ echo "http://a1.sphotos.ak.fbcdn.net/hphotos-ak-ash3/p480x480/558586_10150802565778254_80329313253_9861803_95620 4038_n.jpg" | sed 's/.*_\([0-9]*\)_[0-9]*_[0-9]*_n\.jpg$/\1/'
80329313253
[fris@fris ~]$
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote