Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rereplace

Status
Not open for further replies.

olmos

Technical User
Oct 25, 2000
135
0
0
US
How can I replace any text that contains more than
one dash or asterisk and is followed by words to be replaced with a space.

I tried this but it does not seem to remove
the words after the dashes or asterisks.


<cfset new_text = #REReplace(old_text, '[-+]|[*+](.*)', " ", "ALL")#>



thanks,
olmos

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top