You should be able calculate the difference yourself.
[a-lp-z]
If the regex engine supports lookahead assertion, you could use
(?![m-o])[a-z]
but this would probably be less efficient.
More Related Contents:
- Slice an url with regex – php [closed]
- Regex plus vs star difference? [duplicate]
- How to extract img src, title and alt from html using php? [duplicate]
- Matching Unicode letter characters in PCRE/PHP
- PHP Regex to get youtube video ID?
- Remove multiple whitespaces
- Variable-length lookbehind-assertion alternatives for regular expressions
- PHP Regular expression to match keyword outside HTML tag
- Replace multiple newlines, tabs, and spaces [duplicate]
- How to check if string is a valid XML element name?
- Split string by delimiter, but not if it is escaped
- Multibyte trim in PHP?
- Need a good regex to convert URLs to links but leave existing links alone
- Php – regular expression to check if the string has chinese chars
- How long can a TLD possibly be?
- file_get_contents not working?
- Extracting all values between curly braces regex php
- PHP regex delimiter, what’s the point?
- Function to return only alpha-numeric characters from string?
- PHP using preg_replace : “Delimiter must not be alphanumeric or backslash” error
- Get repeated matches with preg_match_all()
- Unknown modifier ‘/’ in …? what is it? [duplicate]
- PHP – Add link to a URL in a string
- How to remove square brackets and anything between them with a regex?
- Regex to strip comments and multi-line comments and empty lines
- How to get all captures of subgroup matches with preg_match_all()? [duplicate]
- Issue with Laravel Rules & Regex (OR) operator
- How do I match accented characters with PHP preg?
- Get non-numeric characters then number on each line of a block of texf
- Validate date format in php