add command for extract string from text file

Signed-off-by: Fudong Bai <baifudong@hisense.com>