vbscript RegExp help

Discussion in 'ASP General' started by Giles, Apr 20, 2007.

  1. Giles

    Giles Guest

    I am trying to write an asp(vbscript) parser for wiki-style pseudo code, and
    can't get my head round regexp.
    I am hoping if somebody could give me an example to work on for one, I could
    sort the others.
    e.g. how do you turn (from within a large string, with varying occurences)
    .......[image:/mydir/pics/my portrait.jpg | A picture of me]......
    into
    ......<img src="/mydir/pics/my%20portrait.jpg " alt="A picture of me">.....
    Hope this is an OK place to ask
    Thanks, Giles
     
    Giles, Apr 20, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Greg Hurrell
    Replies:
    4
    Views:
    163
    James Edward Gray II
    Feb 14, 2007
  2. Mikel Lindsaar
    Replies:
    0
    Views:
    490
    Mikel Lindsaar
    Mar 31, 2008
  3. Joao Silva
    Replies:
    16
    Views:
    363
    7stud --
    Aug 21, 2009
  4. Uldis  Bojars
    Replies:
    2
    Views:
    192
    Janwillem Borleffs
    Dec 17, 2006
  5. Matìj Cepl

    new RegExp().test() or just RegExp().test()

    Matìj Cepl, Nov 24, 2009, in forum: Javascript
    Replies:
    3
    Views:
    181
    Matěj Cepl
    Nov 24, 2009
Loading...

Share This Page