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. Advertisements

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. Steve Kershaw
    Replies:
    0
    Views:
    514
    Steve Kershaw
    Jul 18, 2007
  2. Replies:
    18
    Views:
    1,114
  3. Matrix
    Replies:
    1
    Views:
    179
    Ray Costanzo [MVP]
    Oct 15, 2004
  4. Greg Hurrell
    Replies:
    4
    Views:
    341
    James Edward Gray II
    Feb 14, 2007
  5. Mikel Lindsaar
    Replies:
    0
    Views:
    749
    Mikel Lindsaar
    Mar 31, 2008
  6. Joao Silva
    Replies:
    16
    Views:
    679
    7stud --
    Aug 21, 2009
  7. Uldis  Bojars
    Replies:
    2
    Views:
    342
    Janwillem Borleffs
    Dec 17, 2006
  8. Matìj Cepl

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

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