On Jan 20, 2007, at 7:33 AM, [EMAIL PROTECTED] wrote:

On Jan 19, 2007, at 22:18 UTC, Chuck Pelto wrote:

WHERE CAN I GET A GOOD REFERENCE, w/examples, TO TEACH MYSELF ABOUT
REGEX?

I use the online help of TextWrangler, which is quite good. It's also
handy to try out your regular expressions there, since I often find it
takes several tries to get them right.

Got TextWrangler. Did the tutorial. Much impressed with this tool. Thanks for pointing its existence out to me.

Have, as usual, a question......

What is the syntax for using RegEx in RB in order to SEARCH/EXTRACT text from a string?

I see, in the LangRef, that RegEx is oriented towards SEARCH/REPLACE but I see no mention of how to apply a RegEx expression in RB in the LangRef, nor up on the Archive, either.

So, what does a call look like? E.g.....

dim sourceText as string
dim capturedText as string
dim srchCode as string

srchCode = "[EMAIL PROTECTED](([EMAIL PROTECTED]" // just something to stuff in there, as I don't know enough about RegEx to make a good expression


capturedText = RegEx(sourceText, srchCode) // Would this work?????????????

Regards,


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to