If someone  can help me... I'm dealing with the following situation:

    I may have a string in which matches of the following regex:
'[\s.;\:!?]*#\w+' may happen (multiple times). I want to replace the
#\w+ part of it by nothing but keep the [\s.;\:!?]* but it seems to be
no easy way using copyWithRegex: matchesTranslatedWith: or
copyWithRegex: matchesReplacedWith:

Someone knows an easy (meaning, no several operations, etc) to do this????


Thanks in advance,


Casimiro Barreto


--
The information contained in this message is confidential and intended
to the recipients specified in the headers. If you received this message
by error, notify the sender immediately. The unauthorized use,
disclosure, copy or alteration of this message are strictly forbidden
and subjected to civil and criminal sanctions.

==


---
Este email foi escaneado pelo Avast antivĂ­rus.
https://www.avast.com/antivirus


Reply via email to