NameSilo

[Php] Image parsing

Spacemail by SpaceshipSpacemail by Spaceship
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.
Unstoppable DomainsUnstoppable Domains
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back