i want remove the tags of following line using sed command in a single command line and i want output to be:- Release Date:September 10,2013
<p><strong>Release date:</strong> September 10, 2013</p>
The following sed command should remove tags:
sed 's/<[^>]\+>//g' file
<...> and sed replaces them with nothing. Take a look at a regex tutorial if you cannot understand regexes.The following awk command
awk 'gsub(/ *<[^>]*> */," ")'
.. using sed command in a single command line and i want output to be ... ok, what did you try?