Jump to content

Recommended Posts

Posted

Hello!

I'm using <GuiRichEdit.au3> library, but I can not find: is there any way to do search/replace with PCRE regexes in Edit data? Thanks.

Posted

If there is no regex support,

is there any way to get collection of elements in Edit field.

If I could to do regex' search and replaces through this collection...

Posted

I found that regexes do not work. There is the only way to write data to RTF, and do replaces there, than render RTF in RichEdit again.

Posted (edited)

So, we have some data (with tables, styles, etc) in richedit,

then we do regex' replaces there. For example:

Find:[\t  ]+

Replace to:

Find:([\( ])(№|N)[  °]*(\d)

Replace to:$1N $3

How to do it?

Edited by Suppir

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
×
×
  • Create New...