Hi Everyone,
I need to replace a string using a wildcard. In other words, a nawk or sed routine to do this:
string to replace "This is a test"
But may occur as "This is not a test"
I want to use something like a wildcard, such as:
"This is * test"
To find and replace both instances in a file.
Any thoughts?
I need to replace a string using a wildcard. In other words, a nawk or sed routine to do this:
string to replace "This is a test"
But may occur as "This is not a test"
I want to use something like a wildcard, such as:
"This is * test"
To find and replace both instances in a file.
Any thoughts?