Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Match an object in a string using ReGex

// "{a:42,b:{c:{d:{e:43}}}}" to match an object that is a string
/.((?:{[^}]*}))/
Source by regex101.com #
 
PREVIOUS NEXT
Tagged: #Match #object #string #ReGex
ADD COMMENT
Topic
Name
6+5 =