Issue with Regular expression

Joined
Sep 4, 2007
Messages
1
Reaction score
0
I have the following string:

TechAccountDoc/canonical:Subaccount/canonical:ContractSection/canonical:TechnicalAccountMarkets/canonical:Subaccount[1]/canonical:TechnicalAccountMarket[canonical:MarketInfo/canonical:SourceKey = $MetaDataDoc/metadata:CustomHeaders/metadata:CustomHeader[metadata:Name="uidmarket"]/metadata:Value]/canonical:BalanceAmtItem[@type='692']

I am trying to write reg ex .... for ignoring whatever appears inside '[' and ']' . That means the output should be :

TechAccountDoc/canonical:Subaccount/canonical:ContractSection/canonical:TechnicalAccountMarkets/canonical:Subaccount/canonical:TechnicalAccountMarket/canonical:BalanceAmtItem

I have tried various combinations ... but i m unable to do so ...
can anyone help out with this issue??

Thanks in advance...
Megh
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top