What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Preg replace syntax

Preg replace syntax
Author: Message:
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Preg replace syntax
Little regex without the alt thingy you wanted, i'm sure you or someone else can make that work for you

Regex:
code:
<img src=\"(.*)"\salt=\"(.*)" />(.*)
Replacement string:
code:
<a href=\"\1\">\2</a>\3
[Image: 1-0.png]
             
12-05-2008 11:31 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Preg replace syntax - by bramvandeperre on 12-05-2008 at 10:54 PM
RE: Preg replace syntax - by Ezra on 12-05-2008 at 11:31 PM
RE: RE: Preg replace syntax - by bramvandeperre on 12-05-2008 at 11:40 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On