Skip to content

Instantly share code, notes, and snippets.

@klein-artur
Last active August 21, 2019 12:07
Show Gist options
  • Select an option

  • Save klein-artur/c6513766e87bc1856d6b41f9eb3dfc5e to your computer and use it in GitHub Desktop.

Select an option

Save klein-artur/c6513766e87bc1856d6b41f9eb3dfc5e to your computer and use it in GitHub Desktop.

Revisions

  1. klein-artur revised this gist Aug 21, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion stringfinder.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Find Strings between quotes with escaped quotes
    # Find Strings between quotes

    ```
    (?:")((?:.|\n)*?)(?<!\\)(?:")
  2. klein-artur created this gist Aug 21, 2019.
    7 changes: 7 additions & 0 deletions stringfinder.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Find Strings between quotes with escaped quotes

    ```
    (?:")((?:.|\n)*?)(?<!\\)(?:")
    ```

    The first group will be the string itself. Escaped quotes are ignored.