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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

replace a string

Status
Not open for further replies.

alburaq

Programmer
Dec 23, 2001
10
0
0
PS
i have a string
i want to replace every string between apostrophes ' with spaces.

ex.
first string:(hello 7663 763663 'ok' 77h hgs 'dsds' sdssd ss ' sd s' sd 455 43)

result string : ex.
first string:(hello 7663 763663 77h hgs sdssd ss sd 455 43)
i try REReplaceNoCase(..) function but no results, why??
Is there a solution??? please reply me..
 
Code:
#ReReplaceNoCase(string,"(')(^')*(')","\1 \3","ALL")#

should work..

Tony Did I help?
Vote!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top