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
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