Thursday, August 8, 2013

how to create regular expression for this sentence?

how to create regular expression for this sentence?

i have following statement {$("#aprilfoolc").val("HoliWed27");}.and i want
to get "aprilfoolc" and "HoliWed27" seprately.i have written following
regex but it is not working. please help!
(?=[\$("#]?)[\w]*(?<=[")]?)

No comments:

Post a Comment