HtmlNodeItemFindNodeText(HtmlNodeItem, String) Method

Return a node by text content.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static HtmlNodeItem[] FindNodeText(
	HtmlNodeItem baseNode,
	string expression
)

Parameters

baseNode  HtmlNodeItem
Base node at which to begin the search. The base node text is assumed to be an eclosing element, so is not searched.
expression  String
Regular expression used to find the text.

Return Value

HtmlNodeItem
Array of Nodes matching the Expression, if found. Otherwise, zero length array.

See Also