0
votes
0answers
90 views

Using RegEx to strip the unique value of a column in a CSV using AutoIt

So I know there are better ways of doing this, but I figured I should at least try and learn some RegEx eventually. Right now I have a large CSV, and I know there is one column that may or may not ...
0
votes
3answers
48 views

Getting in trouble with positive lookaround

Why is the following RegEx only working, when removing ^ and $? ^(?<=.).+(?=.)$ Source: #Hello World# Target: Hello World Looking forward finding the solution. Many thanks in advance.
0
votes
1answer
293 views

How to use StringRegExp with Multiline text?

I was trying to use StringRegExp for matching results but no success so far. $sHTML = "Keyword[wellwellwell bla bla bla bla bla bla bla <h1> bla bla </h1> =NeedRegExp-123123123asd ...
1
vote
3answers
60 views

How can I make optional matches?

Sorry if the subject/title seems vague. I was not sure how to make it seem less generic. The following is written in AutoIt Script, but the question is about Regular Expressions in general. Func ...
0
votes
3answers
111 views

Regular expression to amend Sysprep.inf file

I currently have a requirement to parse a sysprep.inf file and insert a value input by the end user. I'm coding this utility using AutoIT and my regular expression is slightly out. The line I need ...
0
votes
2answers
343 views

Remove Unused Functions in AutoIt Script with PowerShell

Alrighty.. So I am editing an AutoIt script that has a lot of unused functions in it. The original author saw fit to add all the functions from his/her includes files. At first I tried to use the ...
0
votes
3answers
1k views

Autoit Regular Expresion- How do you find a “.”?

I'm trying to create a regular expression that will look for filenames from full file paths, but will not return if it's just a directory. For example, "C:\Users\IgneusJotunn\Desktop\file.doc" should ...
1
vote
1answer
264 views

Multiline regular expression in Autoit3

I am basically trying to do a multiline match against a HTML source with Autoit3, but for some reason it won't work as expected. This is the HTML source: <li class="mission"> <div> ...
1
vote
3answers
337 views

Howto make regular expressions pattern for this?

I want to make a regular expression pattern for a string like Function_Name ( 'parameters' ) Function Description this line has to be split so I get the name , parameters and description
-1
votes
1answer
468 views

AutoIt StringRegExp | Save to file

I need help with AutoIt StringRegExp. I want to scrape the proxies from a html file like this: <td> <center> <a class="proxyList" href="http://whois.sc/77.79.9.229" ...
0
votes
1answer
458 views

Convert Autoit Regex to C#

I cant work this out, I have been given this search expression .*?(8986(.{8})8A4F03) which works really quick in autoit and gives me 1 result but if I try it in c# it seems to hang. I have also ...
0
votes
3answers
271 views

Regular expression problem with back slashes

I'm having trouble with what seems like a simple regex capture. I'm using AutoIt's stringRegExp() function. The source string is: 1 U:\some text here\more text over here\06-17-2011\Folder ...