If the "convert format" implies to just remove the ( ) and - from the original text,
then I belive the Stream EDitor SED is the solution.
Something like this:
Code:
echo "ph# format(xxx)-xxx-xxxx" | sed 's/[()-]//g'
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.