Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] A question about a regular expression

From: lethalman::fyrebird::net at: 17-Oct-2004 10:22

Hello, (first sorry for my poor English) I've this string: "<a href='http://bla'>Test</a><a href='http://blabla'>Test2</a>" Now i would like to get Test and Test2. In Perl i use the following regexp: <a href='.*?'>(.+?)</a> So i get Test and Test2, but how can i do this in Rebol? The user will specify the two string between are both Test and Test2, like: Before: <a href='*'> After: </a> So i will get Test and Test2. Is there any way to do this? -- Fyrebird Hosting Provider - Technical Department