Ho un qualcosa di stringa come [[user.system.first_name]][[user.custom.luid]] blah blah
Estrarre i dati tra i caratteri usando regex?
voglio abbinare user.system.first_name
e user.custom.luid
ho costruito /\[\[(\S+)\]\]/
ma è la corrispondenza user.system.first_name]][[user.custom.luid
.
Qualche idea su dove sto sbagliando?
'/ \ [\ [(\ S +?) \ ] \]/' –
Po duplicato corretto di [Espressione regolare per estrarre il testo tra parentesi quadre] (http://stackoverflow.com/questions/2403122/regular-expression-to-extract-text-tra between-square-brackets) –