Quantcast
Channel: CodeProject Latest postings for Regular Expressions
Viewing all articles
Browse latest Browse all 224

remove parenthese from function like string

$
0
0
I have a similar string with a C++ function __X

__X(" (whatever1)") alpha __X("whatever2") beta

and I should remove the __X function and the corresponding parentheses, so the result should be

"(whatever1)" alpha "whatever2" beta

The argument to the __X function is a string embedded in "" and sometimes additionally embedded in ()

I'd appreciate any help, thanks in advance Smile | :)

Viewing all articles
Browse latest Browse all 224

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>