PATH:
home
/
lab2454c
/
keebchat.com
/
core
/
libs
/
htmlParser
/
manual
/
docs
/
api
/
simple_html_dom
# remove_noise (protected) ```php remove_noise ( string $pattern [, bool $remove_tag = false] ) ``` Replaces noise in the document (i.e. scripts) by placeholders and adds the removed contents to `$this->noise`. _Note_: Noise is replaced by placeholders in order to allow restoring the original contents. Placeholders take the form of `'___noise___1000'` where the number is increased by one for each removed noise. | Parameter | Description | --------- | ----------- | `pattern` | A regular expression that matches the noise to remove. | `remove_tag` | Removes the entire match when enabled or submatches when disabled.
[-] childNodes.md
[edit]
[-] simple_html_dom.md
[edit]
[-] firstChild.md
[edit]
[-] set_callback.md
[edit]
[-] as_text_node.md
[edit]
[+]
..
[-] createElement.md
[edit]
[-] copy_skip.md
[edit]
[-] lastChild.md
[edit]
[-] restore_noise.md
[edit]
[-] clear.md
[edit]
[-] getElementById.md
[edit]
[-] parse_attr.md
[edit]
[-] copy_until_char.md
[edit]
[-] getElementsById.md
[edit]
[-] load_file.md
[edit]
[-] copy_until.md
[edit]
[-] loadFile.md
[edit]
[-] __get.md
[edit]
[-] dump.md
[edit]
[-] parse_charset.md
[edit]
[-] getElementByTagName.md
[edit]
[-] __destruct.md
[edit]
[-] remove_noise.md
[edit]
[-] prepare.md
[edit]
[-] __construct.md
[edit]
[-] getElementsByTagName.md
[edit]
[-] read_tag.md
[edit]
[-] load.md
[edit]
[-] skip.md
[edit]
[-] remove_callback.md
[edit]
[-] find.md
[edit]
[-] search_noise.md
[edit]
[-] save.md
[edit]
[-] link_nodes.md
[edit]
[-] __toString.md
[edit]
[-] parse.md
[edit]
[-] createTextNode.md
[edit]