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 derfloh 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
Joined
Oct 25, 2000
Messages
135
Location
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.

Similar threads

  • Locked
  • Question Question
Replies
2
Views
237
  • Locked
  • Question Question
Replies
2
Views
182
Replies
3
Views
196

Part and Inventory Search

Sponsor

Back
Top