Python Forum
Regular Expressions - so close yet so far
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expressions - so close yet so far
#4
I can only see your output, not what the regex is getting. For instance, if there is space between the weight and colon, that might explain things.

Can you show what the entry object is during the loop? At least a couple with and without the color or semicolon.
bigpapa likes this post
Reply


Messages In This Thread
RE: Regular Expressions - so close yet so far - by bowlofred - May-02-2023, 10:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Use or raw string on regular expressions Zaya_pool 5 344 May-09-2024, 06:10 PM
Last Post: Zaya_pool
Information Do regular expressions still need raw strings? bobmon 3 386 May-03-2024, 09:05 AM
Last Post: rishika24
  Recursive regular expressions in Python risu252 2 1,399 Jul-25-2023, 12:59 PM
Last Post: risu252
  Having trouble with regular expressions mikla 3 2,691 Mar-16-2021, 03:44 PM
Last Post: bowlofred
  Regular Expressions pprod 4 3,180 Nov-13-2020, 07:45 AM
Last Post: pprod
  Format phonenumbers - regular expressions Viking 2 1,978 May-11-2020, 07:27 PM
Last Post: Viking
  regular expressions in openpyxl. format picnic 0 2,530 Mar-28-2020, 09:47 PM
Last Post: picnic
  Unexpected (?) result with regular expressions guraknugen 2 2,292 Jan-18-2020, 02:33 PM
Last Post: guraknugen
  Strange output with regular expressions newbieAuggie2019 1 1,972 Nov-04-2019, 07:06 PM
Last Post: newbieAuggie2019
  Regular Expressions amitalable 4 2,820 Mar-14-2019, 04:31 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

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