Jump to content

Regular Expressions or StringEnctypt?


Recommended Posts

hi,

QA - how can i remove all the 'a' , '0' & '6' from the result of MsgBox?

$text = "AC9223Lac8712006"
MsgBox(0, "Text", $text)

QB - how can i change '1234567890' to '0987654321' using autoit script?

QA - StringRegExpReplace()

$text = "AC9223Lac8712006"
MsgBox(0, "Text",StringRegExpReplace($text,"(?-i)[a06]",""))

QB - _StringReverse()

#include <String.au3>
MsgBox(0,"",_StringReverse('1234567890'))
Edited by Andreik

When the words fail... music speaks.

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