I want to delete something not useful in the first line like following:1-TagDir (cs)       2-TagDir (a)      3-TagDir (cd)       4-TagDir (abc)Output:1       2       3       4How should I do?
command line, how to search a pattern in the first line and delete them
linux;text