0
Search for the word using regular expression
Regular expression searching data for a word If I want to look up a word ‘ifAdminStatus’ how do I write that regular expression. Do I use the findall? (re.findall(r’[]’,hostInterface))
2 Antworten
+ 1
Have you worked through this?
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2475/
0
What's the need for regex? You can just specify "ifAdminStatus".