regexp not working
trying to strip strings out of a http request using a regexp:
I'm querying a server as to the presence of PDF files in a directory, then parsing a list from the rawhtml, unfortunately, some of the files contain periods and commas, and the Regexp only matches a string from after the punctuation character,
e.g.: "John M. Smith.pdf" gets matched as "Smith.pdf"
Here's the Regexp:
<cffunction name="parsePDF" access="public" returntype="string">
<cfargument name="RAWHTML" type="string" required="yes">
<cfset REGEXPMATCH="^[\s\S][[:punct:]]*\.pdf$">
<cfreturn REMatchNoCase(REGEXPMATCH,RAWHTML)>
</cffunction>
TIA
| Server Product | ColdFusion |
| Version | 8,0,1,195765 |
| Edition | Standard |
IIS 6
