How about this?

<cfset result = reFind("##[[:space:]]*([[:digit:]]+)", myString, 1, true)>

<cfif result.pos[1]>

            <cfoutput>#mid(myString, result.pos[2],
result.len[2])#</cfoutput>

</cfif>

-----Original Message-----
From: Andy Ousterhout [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 17 February 2004 11:05 a.m.
To: CF-Talk
Subject: Regular _expression_ help

What regular _expression_ would find a "#" followed by any number of blanks,
followed by 2-3 numbers

For example, I want to return 45 from this string:

Testing this string # 45 to 46

Andy

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to