Hello Everyone,
I am trying to place a zero in front of a two digit number with regex. Is it even possible to do this?
Here is what I was thinking. (that didn't work)
let>Value=12
RegEx>^\d\d$,Value,0,SCV,SCVnum,1,\0%1%2,Test
RegEx>^??$,Value,0,SCV,SCVnum,1,0%1%2,Test
And I tried others, but they failed as well. The var Value will always contain digits, so I don't really need to specify digits. Currently I am using an IF followed by a Let to add the zero. But I would like to do it with RegEx because that is what I am learning. Plus, and I know it doesn't matter, it's neater.
Please Help and thanks.
RegEx Help
Moderators: Dorian (MJT support), JRL
RegEx Help
Windows 7
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
hello
This guy is a pumkin IDIOT!! It's right in front of him!! And he can't get it!!!
.......or did he?
.......or did he?
Windows 7
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!