Class HtmlTagsParser
Inheritance
System.Object
HtmlTagsParser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.RichTextBoxAdv.WPF.dll
public class HtmlTagsParser
Constructors
Declaration
Fields
Declaration
public const string CssFont = "(([0-9]+|[0-9]*\\.[0-9]+)(em|ex|px|in|cm|mm|pt|pc)|([0-9]+|[0-9]*\\.[0-9]+)\\%|xx-small|x-small|small|medium|large|x-large|xx-large|larger|smaller)(\\/(normal|{[0-9]+|[0-9]*\\.[0-9]+}|([0-9]+|[0-9]*\\.[0-9]+)(em|ex|px|in|cm|mm|pt|pc)|([0-9]+|[0-9]*\\.[0-9]+)\\%))?(\\s|$)"
Field Value
Declaration
public const string CssProperties = ";?[^;\\s]*:[^\\{\\}:;]*(\\}|;)?"
Field Value
Declaration
public const string CssPropertyBox = "[^\\{\\}]*\\{[^\\{\\}]*\\}"
Field Value
Declaration
public const string FontStyle = "(normal|italic|oblique)"
Field Value
Declaration
public const string FontVariant = "(normal|small-caps)"
Field Value
Declaration
public const string FontWeight = "(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)"
Field Value
Declaration
public const string HmlTagAttributes = "[^\\s]*\\s*=\\s*(\"[^\"]*\"|'[^']*'|[^\\s]*)"
Field Value
Declaration
public const string HtmlTag = "<[^<>]*>"
Field Value
Declaration
public const string LineHeight = "(normal|{[0-9]+|[0-9]*\\.[0-9]+}|([0-9]+|[0-9]*\\.[0-9]+)(em|ex|px|in|cm|mm|pt|pc)|([0-9]+|[0-9]*\\.[0-9]+)\\%)"
Field Value
Declaration
public const string WhiteSpaces = "\\s{2,}"
Field Value
Methods
Returns the matched collection
Declaration
public static MatchCollection Match(string regex, string source)
Parameters
Type |
Name |
Description |
System.String |
regex |
|
System.String |
source |
|
Returns
Type |
System.Text.RegularExpressions.MatchCollection |
Searches the specified regex on the source
Declaration
public static string Search(string regex, string source)
Parameters
Type |
Name |
Description |
System.String |
regex |
|
System.String |
source |
|
Returns
Searches the specified regex on the source
Declaration
public static string Search(string regex, string source, out int position)
Parameters
Type |
Name |
Description |
System.String |
regex |
|
System.String |
source |
|
System.Int32 |
position |
|
Returns