Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/8a1e2c12068b67d3c2534a7637f68b59 to your computer and use it in GitHub Desktop.
Save trycf/8a1e2c12068b67d3c2534a7637f68b59 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfset sCellContent = "<a href=""javascript:showFormOverview(1516,''Select'',''id_formname_1516'',''nFormId13'',''Form13'','''',''CPAM06 Compte-rendu d''entretien'');"">Select</a>">
<!--<cfset matches = REMatch('"([^"]*)"', sCellContent) />-->
<cfset matches = REMatch('"\"javascript:.*\""', sCellContent) />
<cfdump var="#matches#" label="Example REMatch" />
<!--\"javascript:.*\"-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment