On CFMX
stTmp = REFindNoCase('msg:"(.*?)";',str,1,true);
if(stTmp.pos[1]){
message = Mid(str,stTmp.pos[2],stTmp.len[2]);
}
else {
message = "";
}
ON CF5
stTmp = REFindNoCase('msg:"(([^"]|"[^;])*)";',str,1,true);
if(stTmp.pos[1]){
message = Mid(str,stTmp.pos[2],stTmp.len[2]);
}
else {
message = "";
}
> -----Original Message-----
> From: Ian [mailto:[EMAIL PROTECTED]
> Sent: maandag 17 mei 2004 22:39
> To: CF-Talk
> Subject: Regular _expression_ Help
>
> I'm trying to parse a string and pluck a bit of text, but my
> regex isn't working :( Here's a sample string:
>
> (msg:"My Message Here"; content:"My Content Here";)
>
> I want to return My Message Here.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- RE: Regular Expression Help Teel, C. Doug
- Regular Expression Help kelly
- Re: Regular Expression Help Ben Doom
- Re:Regular Expression Help (Ben) Kelly Matthews
- Re: Regular Expression Help Claude Schneegans
- Regular expression help Andy Ousterhout
- RE: Regular expression help Matthew Walker
- RE: Regular expression help Pascal Peters
- Regular Expression Help Ian
- RE: Regular Expression Help Marlon Moyer
- Regular Expression Help Pascal Peters
- Regular Expression Help Daniel Farmer
- RE: Regular Expression Help Pascal Peters
- Re: Regular Expression Help Daniel Farmer
- RE: Regular Expression Help Gavin Brook
- RE: Regular Expression Help Pascal Peters
- Page stops processing Bud
- Re: Page stops processing Jochem van Dieten
- RE: Regular Expression Help Pascal Peters