werabasketball.blogg.se

Notepad++ regex negative lookahead
Notepad++ regex negative lookahead









notepad++ regex negative lookahead

The special character * after the closing square bracket specifies to match zero or more occurrences of the character set. The regular expression * matches any sequence of letters that starts with an uppercase letter and is followed by zero or more lowercase letters. The regular expression matches "BIG", "BAG", "BIN", and "BAN". This regular expression matches "B", followed by an "I" or "A", followed by a "G" or "N". If you specified the regular expression as "B", the concatenation of character sets creates a regular expression that matches the corresponding concatenation of characters in the search string. The regular expression " BG " matches the strings "BIG", "BAG", and "BUG", but does not match the string "BOG".

notepad++ regex negative lookahead

For example  matches any single character that is not a capital letter. In a character set a ^ character negates the following characters.

notepad++ regex negative lookahead

In the character set, a hyphen indicates a range of characters, for example will match any one capital letter. For example, the regular expression " " specifies to match any single uppercase or lowercase letter. The pattern within the brackets of a regular expression defines a character set that is used to match a single character.











Notepad++ regex negative lookahead