[^,;]+
You haven’t specified the regex implementation you are using. Most of them have a Split
method that takes delimiters and split by them. You might want to use that one with a “normal” (without ^
) character class:
[,;]+
More Related Contents:
- Reg-ex to validate a sting with digits only but all Zeros are not allowed [closed]
- RegEx for Multi-Words Without Numbers and Any Special Characters
- Regular expression to match balanced parentheses
- How do I deal with special characters like \^$.?*|+()[{ in my regex?
- Why doesn’t [01-12] range work as expected?
- Regular expression for a string containing one word but not another
- Regular expression that matches valid IPv6 addresses
- How to capture multiple repeated groups?
- Regular expression to allow spaces between words
- Regex – Does not contain certain Characters
- Is the regular expression [a-Z] valid and if yes then is it the same as [a-zA-Z]?
- Notepad++ Find/Replace number with Increment Value
- How do I make case-insensitive queries on Mongodb?
- Why does character range class [A-z] match underscore?
- How do I find and remove duplicate lines from a file using Regular Expressions? [closed]
- Mongodb match accented characters as underlying character
- Have HTML5’s a inputs pattern attribute ignore case
- Regex to first occurrence only? [duplicate]
- Extracting top-level and second-level domain from a URL using regex
- HTML5 input pattern search for quote
- regex to remove ordinals
- Replace a word with multiple lines using sed?
- Regular Expression Vs. String Parsing
- Can extended regex implementations parse HTML?
- How to get Vim to highlight non-ascii characters?
- Grep and regex – why am I escaping curly braces?
- Counting number of occurrences of a string inside another (Perl)
- grep regex whitespace behavior
- How to replace a string in an existing file in Perl
- Regex – Find all matching words that don’t begin with a specific prefix