Jump to content

Search the Community

Showing results for tags 'date'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Delphi Questions and Answers
    • Algorithms, Data Structures and Class Design
    • VCL
    • FMX
    • RTL and Delphi Object Pascal
    • Databases
    • Network, Cloud and Web
    • Windows API
    • Cross-platform
    • Delphi IDE and APIs
    • General Help
    • Delphi Third-Party
  • C++Builder Questions and Answers
    • General Help
  • General Discussions
    • Embarcadero Lounge
    • Tips / Blogs / Tutorials / Videos
    • Job Opportunities / Coder for Hire
    • I made this
  • Software Development
    • Project Planning and -Management
    • Software Testing and Quality Assurance
  • Community
    • Community Management

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Delphi-Version

Found 1 result

  1. I was wondering if there are algorithms for date detection inside strings. I have a text file full of hundreds of URL's and some of the url's have Dates and/or Times embeded, either on the left or right side of the url. These were entered by me over the years, since around 2014. I would copy and paste url's and sometimes write notes on the same line with the url. It didn't mean much to me at the time when I writting down the urls. Sometimes I was in a rush or under stress and just jotted them down the way I saw it in my head and fingers at the time. But now, the thought occurred to me that the dates could be important or be useful, today. As for the date, I did not make them standardised. Sometimes I would enter them as 1/1/2020, or 1.1.2020, or 1-1-2020, or 01012020. For instance. . . 1-1-2020 car sale http://www.cars.com 1/2/2020 car sale http://cars.com car sale http://cars.com 3/1/2020 Right now: 1. - I have an app that snipps just the url's, (any lines that have them) and then 2. - I remove the "www." portion for sorting and then removing duplicate urls 3. - now, I want to insert Dates if any. 4. - and finally, display a report output log - I will use the tmemo for this. Is there any custom function for date detection? Or else I will have to conjure up one myself. I don't mind doing one, but it may not be as efficient as expected.
×