quoted string in VB.net format

Published on Tue Mar 01 2022

Get all strings in vb.net format (even nested quotes"

Additional matching regexes for
quoted string in VB.net format

quoted string in VB.net format

Get all strings in vb.net format (even nested quotes"

Match quoted strings, ignoring escaped quotes

Matches single or double quoted strings, and ignores backslash-escaped quotes within the string.

Split quotes and single words

Find " and ' quoted strings and "orphaned"/single words in a string

Isolate string in double or single quotes

Isolate strings inside double or single quotes

match arguments similar to shell, supports quoted string

first group matches quoted strings second group plain text, arguments are separated with a space. example: "this is a \"string\"" thisisnot "another \"string\" with a backslash \"\\"" just replace \" with " after matching.

Outside Quotes

match any string outside of single or double quotes

time format HH:mm

validates strings in time format HH:mm with hour in 24h format. only accepts up to 23:59

Placeholder finder

Matches unfilled placeholders and (nested) placeholder blocks

strip parentheses enclosed text with no keywords

strip parentheses enclosed text with no keywords - handles nested parentheses - if using brackets/braces normalize string to parentheses then use the regex

Replace Commas Inside Quotes

Regex to remove commas within quotes. (Common situtaion in .csv files) Eg: data,"some ""embedded"" stuff,commas,inside,quotes",more Replace String would be something like this: \1&\2&\3&\4&\5\&\6&\7&\8&\9 which would replace the commas inside the quotes with '&'s Caveats: * embedded quotes ("") remain in the matches * limit of 9 terms within quotes Work in progress ...