Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reading a Regex
#4
Thank you for the response, I actually managed to get it working, this is what I did:
pattern = re.compile(r'NoError.*')
found = re.findall(pattern, text)

for match in found:
    print(match)
Reply


Messages In This Thread
Reading a Regex - by stahorse - May-15-2019, 06:34 AM
RE: Reading a Regex - by ichabod801 - May-15-2019, 01:32 PM
RE: Reading a Regex - by snippsat - May-15-2019, 02:52 PM
RE: Reading a Regex - by stahorse - May-16-2019, 07:24 AM
RE: Reading a Regex - by snippsat - May-16-2019, 02:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading a Regex pattern stahorse 12 7,866 Apr-25-2019, 10:21 AM
Last Post: NewBeie

Forum Jump:

User Panel Messages

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