|
Regular Expression - [^abc] - matches a character other than a or b or c
The square brackets and circumflex ([^]) match with any single character that is not contained in the brackets.
Examples
Match an HTML tag - if you use .* in the regular expression, you would match from the first tag to the last tag in the line.
<[^>]+>
This would match the following:
<a href="http://www.homemarketeer.com">
It would not match the following:
<<<
Computing Articles
|