12-10-2007, 04:39 PM
In web browser, right click somewhere and click 'View source' or similar menu item. It opens page source, ie HTML. Find the text you need. Usually it is surrounded by HTML tags, for example <b>bold text</b> or <a href="url">link text</a>.
In macro, use findrx to find and extract the text (eg weekday). You have to create regular expression that matches the text (possibly with html tags) you want to find. If you need multiple instances, it also must match all other instances. For example, regular expression ">(\d+)°F</B>" matches every temperature in the page.
Regular expresion syntax is completely documented in QM help. Often used regular expression parts are in floating toolbar -> more tools -> reg expr menu.
In macro, use findrx to find and extract the text (eg weekday). You have to create regular expression that matches the text (possibly with html tags) you want to find. If you need multiple instances, it also must match all other instances. For example, regular expression ">(\d+)°F</B>" matches every temperature in the page.
Regular expresion syntax is completely documented in QM help. Often used regular expression parts are in floating toolbar -> more tools -> reg expr menu.
