Welcome! » Log In » Create A New Profile

replace tag with space

Posted by oleg 
replace tag with space
December 11, 2017 12:02PM

how can i replace html tag with space for example if i have

<a>Foo</a><p style=&#039;color:red;&#039;>Bar</p>

and i want to get just "Foo Bar" not FooBar

it is hard for me to read docs in english as i am from Ukraine, thanks for help

Edited 1 time(s). Last edit at 12/12/2017 03:37AM by oleg.

Re: replace tag with space
May 18, 2018 04:16PM

Unfortunately this is not supported by HTML Purifier. Maybe see if you can some HTML to TXT converters.

Sorry, you do not have permission to post/reply in this forum.