Created
February 11, 2022 11:14
-
-
Save dlucian/899c41887bc3ff196c2593f2cbb7474f to your computer and use it in GitHub Desktop.
Regular expression to match JSON and Javascript Literal object
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^{\s*(\s*"?([a-zA-Z0-9]+)"?:\s*"\S+",?)+\s*"?([a-zA-Z0-9]+)"?:\s*"\S+"\s*} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment