Jump to content

Search the Community

Showing results for tags 'regex yunowork'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hey guys, I'm getting a directory listing of folders within a folder on the network with _FileListToArray then I need to search through that list and determine which folder is named with the largest version number. The problem I'm having is with weeding out folders that are not named in the version numbering naming convention. That naming convention is: must only contain numbers and full stops like 1.2.3 or 2.8.14 and there can be two or more sets of numbers eg 1.2 or 1.2.3 or 1.2.3.4 etc. Would someone please tip me off on whats wrong with my regex? #include <array.au3> Local $array = ["1.7.8","1.7.9","1Goat.Eating.Pastrami.2.3","128","1.7.10","TriggeredLefty.69"] for $x = 0 to Ubound($array)-1 if StringRegExp($array[$x],"[\d\.^\w]+") = 1 Then ;<<<<< y u no work!!! $aThisEl = StringSplit($array[$x],".",2) _ArrayDisplay($aThisEl,"This version") EndIf Next
×
×
  • Create New...