in reply to how to put the value in proper format

The word "Duplex" also matches /up/. Make the regex more firmrigid, as /\bup\b/, using word boundaries.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: how to put the value in proper format
by laksh (Novice) on Aug 29, 2012 at 11:21 UTC
    need help How to get the index for "LINK" for the first line
    ---------------------------------------------------------- Port Speed Duplex Flow Ctrl Link Name ---- ----- -------- --TX-----RX-- ------ ------