I want to write a regular expression for a string starts with quotation mark and ends with same mark. It consists of alpha numeric words (e.g. "PL", or 'CS', . . . ). I thought about [^"].*[^"] , but this is only work for "" these. i want output like input: "CS300" output: 1 tSTRING or input:'a' ouput: 1 tSTRINGI want to write a regular expression for a stri