I am unable to figure out the regex for the following format:
it begins with {
ends with }
in between we can have alphabets, numbers and _
eg. {name_1}
I know its very basic, but I just can't get it right.
Need hel with Regular Expressions.
Moderator: General Moderators
Re: Need hel with Regular Expressions.
Code: Select all
/\{(\w+)\}/