PATH:
home
/
carfac
/
.trash
/
wp-optimize
/
vendor
/
simplehtmldom
/
simplehtmldom
/
docs
/
HtmlDocument
```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 sub-matches when disabled. |
[-] prepare.md
[edit]
[-] getElementByTagName.md
[edit]
[-] __construct.md
[edit]
[-] getElementsByTagName.md
[edit]
[-] getElementsById.md
[edit]
[-] parse_charset.md
[edit]
[-] copy_skip.md
[edit]
[-] index.md
[edit]
[-] load.md
[edit]
[-] remove_callback.md
[edit]
[-] __destruct.md
[edit]
[-] as_text_node.md
[edit]
[-] childNodes.md
[edit]
[-] copy_until_char.md
[edit]
[-] loadFile.md
[edit]
[-] createElement.md
[edit]
[-] firstChild.md
[edit]
[-] restore_noise.md
[edit]
[-] search_noise.md
[edit]
[-] read_tag.md
[edit]
[-] remove_noise.md
[edit]
[-] parse.md
[edit]
[-] createTextNode.md
[edit]
[-] lastChild.md
[edit]
[-] link_nodes.md
[edit]
[-] getElementById.md
[edit]
[-] parse_attr.md
[edit]
[-] find.md
[edit]
[-] copy_until.md
[edit]
[-] __call.md
[edit]
[-] __toString.md
[edit]
[-] set_callback.md
[edit]
[-] __get.md
[edit]
[-] __debugInfo.md
[edit]
[-] expect.md
[edit]
[-] save.md
[edit]
[+]
..
[-] dump.md
[edit]