Here is my javaScript code
mytext ="123|xxx|200|sss"
temp = /\|(\w*)\|/.exec(mytext);
$('.MyData input').val(temp);
I just want something between | | to display on MyData field.
Ouput is:
|xxx|,xxx
But the result I want is only "xxx"
Is It possible to do this with field in javaScript page.on LF Forms.
Regards
bongkoch