“Quoted string” is one of the patterns that you can select on the Match panel. With this pattern you can match a quoted string as it would appear in the source code in one of many popular programming languages.
quote = "It's a beautiful day!" message = '''This is a string that spans multiple lines.''' escapes = 'This is a line.\nAnother line with \'quoted\' text.\n'
button to add field
."""(?:[^"\\]++|\\(?s:.)|"{1,2}+(?!"))*+"""|'''(?:[^'\\]++|\\(?s:.)|'{1,2}+(?!'))*+'''|"[^"\\\r\n]*+(?:\\.[^"\\\r\n]*+)*+"|'[^'\\\r\n]*+(?:\\.[^'\\\r\n]*+)*+'Unused options: Case sensitive; Exact spacing; Dot doesn’t match line breaks; ^$ don’t match at line breaks.
quote = "It's a beautiful day!" message = '''This is a string that spans multiple lines.''' escapes = 'This is a line.\nAnother line with \'quoted\' text.\n'
The programming language you select for your string style is completely independent of the target application or language that you generate your regular expression for. If you want the same regular expression to handle multiple string styles then you can use an alternation field to match one of several fields that use the “quoted string” pattern with different programming languages.