Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

[Php] Image parsing

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

liam_d

The original NP Emo KidEstablished Member
Impact
25
Basically i have this regex to parse links in a post:
Code:
#(http://){1}((www\.)?[a-z][a-z0-9_.-]*\.[a-z]{2,6}[a-zA-Z0-9/.?&%-]*)(\.com|org|us|uk|nl|de|info|me)([a-zA-Z0-9=\;\_\\/\\.\\?&%-]*)#i

How do i adjust it so it won't parse anything wrapped in:
Code:
[img][/img]
Any help would be grand!
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back