Jump to content

Transporting letters to another file with filter


Hypnotik
 Share

Recommended Posts

Link to comment
Share on other sites

Link to comment
Share on other sites

maybe not the most efficient way but it should work.

#include <Array.au3>
#include <File.au3>


Local $Data=FileRead("au.txt")

$Data=StringRegExpReplace($Data,"[A-Za-z_]{6,}",".")
$Data=StringRegExp($Data,"[A-Za-z]{1,5}",3)

_ArrayDisplay($Data)

_FileWriteFromArray("newau.txt",$Data)

Saludos

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...