Apology if I posted this mesage already (I think I lost it):

function stripAllTags taggedText
  put "<.*>" into someReg
  put replaceText(taggedText, someReg, "") into straightText
  
  put "(<.*>)" into someReg
  local foundSomething
  if matchText(someHTML, someReg, foundSomething) is true then
    answer foundSomething
  end if
  
  return straightText
end stripAllTags

Now the regular expression "<.*>" seems to work by finding the first "<"and last ">" 
in the text, and I want the next one. I can do it by using offsets but is there a 
quick way using regular expressions (still can't find a good web resource on regular 
expressions).

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to