Python Forum
print a word after specific word search
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
print a word after specific word search
#9
(Oct-22-2019, 07:40 AM)evilcode1 Wrote:
(Oct-22-2019, 07:05 AM)buran Wrote: https://docs.python.org/3.7/library/xml....ttree.html

or use some external module as lxml or BeautifulSoup

thank u for quick response , but i will prefer regex

(Oct-22-2019, 07:50 AM)buran Wrote: why not parse html/xml with regex is discussed so many times... use proper tools for the task or it will bite you when you don't expect

Hi again!

Although I always try to address a problem from the point of view and knowledge of a newbie like myself, if anyone from this site advises not to use what I have suggested in good faith, I would take their advice into consideration, as their knowledge is much much deeper than mine.

All the best,
newbieAuggie2019

"That's been one of my mantras - focus and simplicity. Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it's worth it in the end because once you get there, you can move mountains."
Steve Jobs
Reply


Messages In This Thread
RE: print a word after specific word search - by newbieAuggie2019 - Oct-22-2019, 08:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Retrieve word from string knob 4 481 Jan-22-2024, 06:40 PM
Last Post: Pedroski55
  How to create a table with different sizes of columns in MS word pepe 8 1,555 Dec-08-2023, 07:31 PM
Last Post: Pedroski55
  extract substring from a string before a word !! evilcode1 3 533 Nov-08-2023, 12:18 AM
Last Post: evilcode1
  Replace a text/word in docx file using Python Devan 4 3,302 Oct-17-2023, 06:03 PM
Last Post: Devan
  How to summarize an article that is stored in a word document on your laptop? Mikedicenso87 2 654 Oct-06-2023, 12:07 PM
Last Post: Mikedicenso87
Thumbs Up Convert word into pdf and copy table to outlook body in a prescribed format email2kmahe 1 742 Sep-22-2023, 02:33 PM
Last Post: carecavoador
  Guess the word game help jackthechampion 3 3,011 Sep-06-2023, 06:51 AM
Last Post: Pedroski55
  Automate Word snippets PHbench 0 544 Jun-06-2023, 06:59 PM
Last Post: PHbench
  Word documents merging crewdk 1 854 Apr-03-2023, 06:32 AM
Last Post: buran
  Help replacing word in Mutiple files. (SOLVED) mm309d 0 830 Mar-21-2023, 03:43 AM
Last Post: mm309d

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020