Python Forum
[split] regular expression
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] regular expression
#1
I have a regex question as well :)

Got a few more dates that I need to find and look for mainly of the
following format: 26 August 1982 05 Mar 1974 *** May 15, 1989 **
Mar. 10, 1976 Dec 14 1975 On regexlib
I found regex for the two cases *** and **.
Should I follow this approach? It seems like a lot of regex :)

** regexlib.com/REDetails.aspx?regexp_id=404

*** regexlib.com/REDetails.aspx?regexp_id=400
Reply
#2
Anyone a suggestion?
Reply
#3
(Jun-05-2018, 11:09 AM)metalray Wrote: Should I follow this approach?
If by that, you mean regex... sure, unless there's a better (or even just an alternative) idea. Regex seems like the right thing for this use case.

(If you're looking for a better answer, I suggest much more detail in your question.)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] [split] regular expression kerzol81 1 3,352 Jun-24-2018, 09:18 AM
Last Post: volcano63
  regular expression bluefrog 1 2,568 Jun-09-2018, 05:21 AM
Last Post: perfringo

Forum Jump:

User Panel Messages

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