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

Ignoring repeating values?

$
0
0
Hello -

I have the following string:

[ CmdAV=show CmdArgAV=policy-map CmdArgAV=system CmdArgAV=type CmdArgAV=network-qos CmdArgAV=<cr> ]

Is it possible to use regex to leave only:

show policy-map system type network-qos <cr>

I don't need the [,], or CmdAV or CmdArgAV.

Viewing all articles
Browse latest Browse all 224

Trending Articles



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