Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

RE: Search Term Highlighting

by sean (Beadle)
on Jun 14, 2000 at 19:11 UTC ( [id://18115]=note: print w/replies, xml ) Need Help??


in reply to Search Term Highlighting

$texttosearch =~ s:($searchstring):<FONT COLOR="$color">$1</FONT>:ig;
should work..

Replies are listed 'Best First'.
RE: RE: Search Term Highlighting
by librarygeek (Novice) on Jun 14, 2000 at 20:16 UTC
    Thank You that worked perfectly!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://18115]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-25 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found