Thierry - thank you so much for the advice and link to code example. This worked great. I very much appreciate your help!
Here is how I modified your code for solving my problem. I am using this with the revBrowserGet functions to populate a "myHTML" field on my main LiveCode card from the company ...
Search found 2 matches
- Thu Aug 06, 2015 12:39 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Not following RegEx recursion in PCRE
- Replies: 3
- Views: 3069
- Thu Aug 06, 2015 6:25 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Not following RegEx recursion in PCRE
- Replies: 3
- Views: 3069
Not following RegEx recursion in PCRE
I have an application I have been working on that uses regular expressions to extract email addresses from my customer's website.
on mouseUp
put text of field "myHTML" into myHTMLvar
put matchText(myHTMLvar,"([\w]+@[\w]{2,}+\.[\w]{2,}(?R)?)",myEMAIL) into myresult
answer myresult
answer ...
on mouseUp
put text of field "myHTML" into myHTMLvar
put matchText(myHTMLvar,"([\w]+@[\w]{2,}+\.[\w]{2,}(?R)?)",myEMAIL) into myresult
answer myresult
answer ...