Can I ask what the best way is to capture the username & password fields into an array.
Note the amount of items can change, so instead of using length and midstr etc I was hoping to extract the details into an array and then export that info at a later time.
This is what I have so far, except I end up with extra items into the array. I need another set of eyes for assistance.
View Snippet Page
Capture Username & Password Fields
Moderators: JRL, Dorian (MJT support)
- CyberCitizen
- Automation Wizard
- Posts: 724
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Capture Username & Password Fields
FIREFIGHTER
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Use RegEx. RegEx returns an array of matches:
RegEx>(?).*?(?=),HTML,0,user_matches,num_users,0
That will give you an array of usernames (anything that appears between a ... tag.
See:
http://www.mjtnet.com/blog/2012/10/29/m ... sed-regex/
RegEx>(?).*?(?=),HTML,0,user_matches,num_users,0
That will give you an array of usernames (anything that appears between a ... tag.
See:
http://www.mjtnet.com/blog/2012/10/29/m ... sed-regex/
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- CyberCitizen
- Automation Wizard
- Posts: 724
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia