I need to format the followin string
name[Name], emloyeeno[Employee Number], joindate[Date Of Join:dd MMM yyyy], email[EMail]
as
name, employeeno, joindate, email
I'm trying to use a regular expression to resolve this, I best I could come up with is
/\[.*]/g
But it is not resolving the problem, I've a sample created here.
Can you help me to resolve this issue?
Thank you