Jump to content
Sign in to follow this  
Deye

StringRegExpReplace Call

Recommended Posts


Hi,

how should i use  StringRegExpReplace to replace all lines to the needed format like ", #, #, #, #" 

if I have lines with 

"Local $sString = GUICtrlCreateInput(1 , 29,46,  46 , 25)"

so it will turn into (like how tidy does it)

"Local $sString = GUICtrlCreateInput(1, 29, 46, 46, 25)"

so a match string (to perform on it later) can also be a case sensitive  search as :

", 29, 46, 46, 25"

Thanks

Deye

 

Edited by Deye

Share this post


Link to post
Share on other sites

@Deye

So you need to extract digits separated by a comma? :)


Click here to see my signature:

Spoiler

Thoughts:

  • I will always thank you for the time you spent for me.
    I'm here to ask, and from your response, I'd like to learn.
    By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

ALWAYS GOOD TO READ:

 

Share this post


Link to post
Share on other sites

Guys, 

Thanks for helping me think it thorough, Added a solution for this to _GUICtrlTuner.au3 
 a bump version: 1.0.3.0

Deye

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...