May 15, 200223 yr I'd like to parse CDML output to a page using JavaScript and don't know if its possible and don't know how to delimit it. If this worked, it would look like this: var textInput = [FMP-Field:course_materials, Break]; document.write(textInput.replace(/(http:[s|.S|,]*)/gi, "<a href = $1> $1 </a>")); but it doesn't work, nor do single or double quotes outside the square brackets. This line of code changes any full URLs in the field into links. It can be done within FileMaker, of course, but it's ghastly complicated, so being able to use the regular expressions in JavaScript would be nice. You seem a clever lot, can it be done? Doug
Create an account or sign in to comment