For some silly reason we have a string with the following information We can use the regular expressions module to find and group the relevant information…just like this. That should output The regex broken down This gives us the name This gives us the telephone number Finally, this will give us the id
Tag: search
Categories
Obsolete New Page Search – Python
Obsolete stuff that will tell you if there is a “Next” page by looking for the string “next” in the HTML. A pretty useless loop… Finally, just a simple “If it’s there then we cool”
Categories
Stuff I Need to Remember – VIM
Search and place stuff in groups… Macros to get all the links I need from the HTML source