Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Wild card searches
Pages: [1] Print
Author Topic: Wild card searches  (Read 288 times)
John
Guest


Email
Wild card searches
« on: October 22, 2004, 01:23:11 PM »

Other than "*" and *?", are there additional wildcard characters that can be used in searches?

My immediate need is to strip all HTML tags from a text string, but, in general, it would be nice to have more wild card tools.

Thanks.
Logged
Gabriele
Full Member
***
Offline Offline

Posts: 182


View Profile WWW
Wild card searches
« Reply #1 on: October 23, 2004, 03:52:21 AM »

In your case, I suggest LOAD/MARKUP. Example:
Code:
page: load/markup http://www.rebol.com
remove-each tag page [tag? tag]
print rejoin page
In the general case, learn how to use PARSE. Smiley
Logged
jmatro
Newbie
*
Offline Offline

Posts: 7


View Profile
Wild card searches
« Reply #2 on: October 28, 2004, 01:16:14 PM »

Thanks.

At your suggestion, I've been learning how to use PARSE.  

Took a while to figure it out at first, but now I can do what I needed.  It's a really neat facility.  Smiley

JM
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Wild card searches
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 20, 2008, 08:21:32 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2286 Posts in 595 Topics by 3710 Members
Latest Member: Nqvyxwid

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc