Find/Replace Dialog Boxes
Regular Expressions

CSE HTML Validator supports regular expressions when searching text.
- (^) A circumflex at the start of the string matches the start of a line.
- ($) A dollar sign at the end of the expression matches the end of a line.
- (.) A period matches any character.
- (*) An asterisk after a string matches any number of occurrences of that string followed by any characters, including zero characters. For example, htm* matches html, htm and htmx but not ht.
- (+) A plus sign after a string matches any number of occurrences of that string followed by any characters except zero characters. For example, ht+ matches htm, and html, but not ht or hx.
- (\) A backslash before a wildcard character tells the Code editor to treat that character literally, not as a wildcard. For example, \^ matches ^ and does not look for the start of a line.
- [] Characters in brackets match any one character that appears in the brackets, but no others. For example [html] matches the character h, t, m, or l.
- [^] A circumflex at the start of the string in brackets means NOT. For example, [^html] matches any characters except h, t, m, or l.
- [-] A hyphen within the brackets signifies a range of characters. For example, [h-m] matches any character from h through m.
NOTE: Regular expressions for the replace field in the Replace With dialog are currently not supported. |