NameSilo

[Php] Image parsing

SpaceshipSpaceship
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
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Dynadot — .com TransferDynadot — .com Transfer
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy — Zero Commission
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back