Ignoring repeating values?
Regular Expressions
4
Posts
3
Posters
9
Views
1
Watching
-
Hello - I have the following string: [ CmdAV=show CmdArgAV=policy-map CmdArgAV=system CmdArgAV=type CmdArgAV=network-qos CmdArgAV= ] Is it possible to use regex to leave only: show policy-map system type network-qos I don't need the [,], or CmdAV or CmdArgAV.
-
Hello - I have the following string: [ CmdAV=show CmdArgAV=policy-map CmdArgAV=system CmdArgAV=type CmdArgAV=network-qos CmdArgAV= ] Is it possible to use regex to leave only: show policy-map system type network-qos I don't need the [,], or CmdAV or CmdArgAV.
-
Great, this does work. Thank you! Is it possible to capture the remained words into a single group?
-
Great, this does work. Thank you! Is it possible to capture the remained words into a single group?