Hello Awk Masters!
I've been trying in vain for hours to develop a regexp for use in gsub or sub that will delete all text between parens on a given line, I'd like the parens to go also.
For example:
My knee hurts ( really bad )
Should come out
My knee hurts
In addition, there is another...
Hello Gurus!
I have a large text file comprised of multiple biographies that I need to split up into separate files for each biography. The only consistent pattern is a label like ABCD: on the last line of the bio, i.e.
John Doe
Forestry Service
Somewhere, Nebraska
ABCD: 321
Jane Hoe...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.