Not being a Regex guru, my approach would simply be to let that happen and then change it back again with another replace. I do realise that's somewhat of a bodge.
* "it's not wrong if it works" philosophy.
Search found 1373 matches
- Tue Sep 24, 2024 9:13 pm
- Forum: Technical / Scripting
- Topic: Strip out specific characters from string
- Replies: 8
- Views: 666
- Mon Sep 23, 2024 6:21 pm
- Forum: Technical / Scripting
- Topic: Strip out specific characters from string
- Replies: 8
- Views: 666
Re: Strip out specific characters from string
Many thanks. I'm always very grateful to the Regex gurus in here.
- Mon Sep 23, 2024 11:08 am
- Forum: Technical / Scripting
- Topic: Strip out specific characters from string
- Replies: 8
- Views: 666
Re: Strip out specific characters from string
I'd also be inclined use ReadFile instead of ReadLn and then Between/Regex to get anything between dc:title and />
- Mon Sep 23, 2024 11:04 am
- Forum: Technical / Scripting
- Topic: Strip out specific characters from string
- Replies: 8
- Views: 666
Re: Strip out specific characters from string
I think I'd do this in stages and take the approach of grabbing everything between content= and /> , use StringReplace to replace the &, then Regex to remove all non alphanumeric characters. But I'm no Regex expert - there may be others here who can do it all in one go. Let>TheHTML=<meta name="dc:ti...
- Sun Sep 22, 2024 7:15 am
- Forum: Technical / Scripting
- Topic: Convert GetFileDate
- Replies: 2
- Views: 228
Re: Convert GetFileDate
GetFileDate : The date returned is in the format YYYYMMDD
DatePart : The date should be in a format recognised by the system.
We can use MidStr though.
DatePart : The date should be in a format recognised by the system.
We can use MidStr though.
Code: Select all
filedate>%Original%,fd
MidStr>%fd%,1,4,yr
MidStr>%fd%,5,2,mn
MidStr>%fd%,7,2,dt
- Thu Sep 19, 2024 9:13 am
- Forum: General Discussion
- Topic: Macro Scheduler 15.0.25 released
- Replies: 12
- Views: 807
Macro Scheduler 15.0.25 released
We have just released Macro Scheduler 15.0.25
For more details please see the Version History Page or this Blog post.
For more details please see the Version History Page or this Blog post.
Re: OnEvent
Excel can perform custom data verification... nodochau might have an alternate method to accomplish his task. I'm still curious about why XLGetCell> would crash if it is used to monitor cell input. Seems like this should work. I just experimented with your example and it throws that error even if I...
Re: OnEvent
Excel can perform custom data verification, so this operation can be achieved entirely within Excel, taking the upper and lower values and giving a popup if anything outside those parameters is entered anywhere within a given range. It's in >Data >Data Verification >Data Tools I think then it's >Set...
- Mon Aug 05, 2024 5:59 pm
- Forum: General Discussion
- Topic: Need Guidance as In what category should I post?
- Replies: 1
- Views: 1389
Re: Need Guidance as In what category should I post?
I'd probably start in Beginners.
- Mon Jul 29, 2024 12:16 pm
- Forum: Beginners
- Topic: Saving multiple variables in a loop
- Replies: 3
- Views: 3679
Re: Saving multiple variables in a loop
Have you tried this? : XLGetSelectedCell>xlBook,data_%k%,intRow,intCol It'll then be in an array. You don't need this line : Let>data=%data% %k% Then to output the data you can do something like this : ArrayCount>data,count let>OutputLoop=0 repeat>OutputLoop Let>OutputLoop=OutputLoop+1 MDL>data_%Out...
- Mon Jul 29, 2024 11:22 am
- Forum: Beginners
- Topic: How To Keep Adding Rows in Excel Without Closing
- Replies: 1
- Views: 2607
Re: How To Keep Adding Rows in Excel Without Closing
This should get you started. The principle is to open the Excel file first, before the loop, then add one to Row in a loop : //PseudoCode XLOpen>... Let>Row=0 Repeat>This Let>Row=Row+1 XLSetCell>xlh,Sheet1,%Row%,%Col%,Some Data,res Until>This,Something Here's a standalone version that demonstrates t...
- Mon Jul 29, 2024 9:56 am
- Forum: Technical / Scripting
- Topic: Runtime error 216 at *address*
- Replies: 2
- Views: 2848
Re: Runtime error 216 at *address*
This was a bit beyond me so I asked Marcus.
This is what he had to say :
This is what he had to say :
.If it's compiled, enable logging, run it and when the error occurs don't close error but grab log file, see where it got to
- Fri Jul 26, 2024 2:43 pm
- Forum: Enhancement Suggestions
- Topic: PDF Display in a Dialog
- Replies: 8
- Views: 4779
Re: PDF Display in a Dialog
I will pass this along.
- Tue Jun 25, 2024 3:40 pm
- Forum: General Discussion
- Topic: modern email authentication
- Replies: 8
- Views: 18335
Re: modern email authentication
I just double-checked and app passwords are working with Outlook and RetrievePOP3. App Passwords . You'll also need to let Apps and Devices use POP >Outlook.com > Mail >Sync Email >Let Devices and Apps use POP This is the code I used : //Retrieve POP3 let>POP3_STATUS=1 let>popserver=outlook.office36...