[Solved] How to get all characters betwent “[\”” and “\”,”? [duplicate]


Your task can be effectivelly accomplished using regular expressions. Your regex could look like:

(?<=\[")[^"]+

See it live here.

The (?<=\[") part is so called lookbehind, you say you are looking for anything that follows [".
Then you simply take any characters except "

Extract from .NET Regex Reference:

(?<= subexpression) Zero-width positive lookbehind assertion.

[^ character_group ] Negation: Matches any single character that is
not in character_group. By default, characters in character_group are
case-sensitive.

solved How to get all characters betwent “[\”” and “\”,”? [duplicate]