simple string expression

  • Thread starter Thread starter DP
  • Start date Start date
D

DP

Could someone help me with a simple string expression that's causing me
trouble?

I have repeated phrases that are always preceded by parentheses, a number,
and a space:

(1) xxxx xxxx xxx or
(23) xxx xxxx xxx or
(100) xxx xxx xxx

Could someone perhaps give me the code fragment to "strip" or delete ALL
characters through the close parentheses PLUS space: ") "

In other words, I need the string xxxx xxxx xxxxx (or whatever it is), minus
the parenthetical number plus following space.

I appreciate the help.

DP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top