Karl Beigan 0 Posted July 28, 2012 Report Share Posted July 28, 2012 Hi All, I'm trying to parse a webpage full of events into a list using Regex. Problem is, despite using a RegEx GUI tool with .Net syntax to validate the expression, Ubot doesn't seem to support the 'Start of line' Anchor i.e ^ Try it for yourself, using the following example text*******06 Jun Some Description here *******The following regex should work - ^\d{2}\s\w{3}\s\w+ Any idea's why the ^ start of line anchor doesn't work? Quote Link to post Share on other sites
k1lv9h 76 Posted July 29, 2012 Report Share Posted July 29, 2012 Hi, Sample code:sample-scrape-regex-001.ubot The sample will set a variable and list using "scrape attribute" regex. Kevin Quote Link to post Share on other sites
warriorfullights 0 Posted August 2, 2012 Report Share Posted August 2, 2012 Thanks for sharing the sample code. This will definitely help newbies here with regards to regex. Quote Link to post Share on other sites
jason 101 Posted August 4, 2012 Report Share Posted August 4, 2012 All the help we can get with regex is great. Thanks. Maybe we need a Regex tutorial video... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.