Jump to content

Stringreplace


NS5
 Share

Recommended Posts

something like?

#include <array.au3>
#include <file.au3>

dim $asRecords
_FileReadToArray('test.ini', $asRecords)
$sContent = _ArrayToString($asRecords, @CRLF)
$asRecords = StringRegExp($sContent,'(.*\s{2,}\W*\s{2,})(?>\w.*\r\n)',3)
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $asRecords = ' & _ArrayToString($asRecords, @CRLF) & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console

-oops- few minutes too late.

Perhaps you'll like it, anyway.

Edited by memoryoverflow

(The signature is placed on the back of this page to not disturb the flow of the thread.)

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...