I have a long text. how to get only "Brandshubs" from below HTML?
output = Brandshubs3.7
Just use re.search('Brandshubs', s) or findall function in python re library.
But you will get the string Brandshubs always, that's not meaningful so I guess you want to check exists or count the times? For that you can check/count
the results of these functions' return directly
how to find out a specific text from a long text in python