Link to home
Start Free TrialLog in
Avatar of Karen Schaefer
Karen SchaeferFlag for United States of America

asked on

Continued from Question #Q_21781278 - regarding a function to replace text within a string continued

How do I modify this code to include the quote in Call ######## Enter Pin "3000".  I need to eliminate the quotes surrounding the number and replace it with ####.

SomeVar = RegExpReplace(RegExpReplace(RegExpReplace(SomeString, "http://[^ ]*", "http://", True, False), "[\d\.\-\(\)]{7,}", "##########", True, False), "\d{4}", "####", True, False)

Thanks,

Karen
ASKER CERTIFIED SOLUTION
Avatar of Patrick Matthews
Patrick Matthews
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Karen,

BTW, when you post a new question that draws on previous questions, it is a good idea to add a link to the past question(s).
I knew what was going on, but other Experts are probably scratching their heads and thinking, what the heck is RegExpReplace?
That's not a native function?!?

:)

Regards,

Patrick