Jump to content

Recommended Posts

Posted

hello all.

please help me in writing a script, which will deletespaces after every dot if it is there and write new line.

i need to split a book to sentences to be on one line.

 

thanks.

Posted

Local $sData = 'Example.    This.OK'
$sData = StringRegExpReplace($sData, '(?<=\.)\s+', @CRLF)
ConsoleWrite($sData & @CRLF)

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

Posted

thanks, i've modified it to work with files, it works.

i have a question how to insert two CRLF?

i am writing @CRLF + @CRLF but it inserts 0

Posted

& not +. Read the help file please on concatenation.

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

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
  • Recently Browsing   0 members

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