Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?

Get help with using AutoHotkey and its commands and hotkeys
User avatar
Sabestian Caine
Posts: 480
Joined: 12 Apr 2015, 03:53

Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?

16 Mar 2019, 14:19

As, using Regular Expressions in ahk is quite complicated, so i am looking for any code generator for simplifying the use of regexmatch and regexreplace. I tried to use this tool for regular expressions-
https://www.autohotkey.com/boards/viewtopic.php?f=6&t=10157&p=64010&hilit=regular+expression+tool#p64010

but it does not generate codes while we can only check/test our regular expression codes in better way by this tool. I also tried to use this site - https://regex101.com/r/1nWjUL/1
but this is also a regular expression testing tool.

Is there no such kind of tool available, by the help of which tool we can generate regular expression codes?

Please help. Thanks.
I don't normally code as I don't code normally.
YOU do what YOU want, but happens what HE wants.
YOU do what HE wants, will happen what YOU want.
IMEime
Posts: 750
Joined: 20 Sep 2014, 06:15

Re: Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?

16 Mar 2019, 20:25

just out of curiosity

automatic RegExp code generator ? sounds good though
have you ever seen any one before ?
in my case, negative

and, testing is good enough, I guess
after testing your pattern, you just wrote simple one or two variables (or copy/paste it).
magusneo
Posts: 37
Joined: 30 Sep 2013, 06:34

Re: Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?

16 Mar 2019, 21:08

If there is some RegEX code generator in other language(such as python perl c#),basically it can also be used for AHK. :lol:
User avatar
Sabestian Caine
Posts: 480
Joined: 12 Apr 2015, 03:53

Re: Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?

17 Mar 2019, 03:32

IMEime wrote:
16 Mar 2019, 20:25
just out of curiosity

automatic RegExp code generator ? sounds good though
have you ever seen any one before ?
in my case, negative

and, testing is good enough, I guess
after testing your pattern, you just wrote simple one or two variables (or copy/paste it).
Thanks IMEime..

I've not seen any regex code generator, but i think there should be such kind of thing.
I don't normally code as I don't code normally.
YOU do what YOU want, but happens what HE wants.
YOU do what HE wants, will happen what YOU want.
User avatar
Sabestian Caine
Posts: 480
Joined: 12 Apr 2015, 03:53

Re: Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?

17 Mar 2019, 03:34

magusneo wrote:
16 Mar 2019, 21:08
If there is some RegEX code generator in other language(such as python perl c#),basically it can also be used for AHK. :lol:
hello dear magusneo..

I don't know whether there is any regex code generator available for other languages or not... If you know then please provide me link/url for that. Thanks...
I don't normally code as I don't code normally.
YOU do what YOU want, but happens what HE wants.
YOU do what HE wants, will happen what YOU want.
User avatar
Blue Kodiak
Posts: 26
Joined: 17 Mar 2019, 00:45

Re: Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?

17 Mar 2019, 04:12

Is there no such kind of tool available, by the help of which tool we can generate regular expression codes?
How would that work? How would it know what you wanted when you aren't even sure yourself, not in a detailed way - because it's hard?

Computer ... Computer ........ ahh, Hello computer
Just use the keyboard
Keyboard :eh: , how quaint :problem:

Computer please display the chemical formula for transparent aluminium and then find the stuff I need from this block of text, tah.
...
Great, good job, thanks for that.
If only they could.
Last edited by Blue Kodiak on 17 Mar 2019, 04:24, edited 1 time in total.
IMEime
Posts: 750
Joined: 20 Sep 2014, 06:15

Re: Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?

17 Mar 2019, 04:23

Blue Bear RegExp Machine ?
Not a bad idea
Just keep going

I like this animal RegExp site too
https://www.regular-expressions.info/index.html

Good Luck To You
swagfag
Posts: 4090
Joined: 11 Jan 2017, 17:59

Re: Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?

17 Mar 2019, 04:27

http://regex.inginf.units.it/
ehh, its pretty bad tho

ure better off learning some rudimentary regex, theres not that much to it, really
User avatar
lmstearn
Posts: 373
Joined: 11 Aug 2016, 02:32
GitHub: lmstearn
Contact:

Re: Is there any code generator available for RegExReplace and RegExMatch in AutoHotKey?

18 Mar 2019, 09:07

Related: For getting acquainted with Regex, there's some paid programs in other languages that offer something. But there is a rather venerable AHK script looking for development & TLC: Tidbit's FindMe.
Just a standard looking file search dialog when run, but it's the popup help from the little question mark button that has the best potential for expansion into some command line based helper.
:arrow: itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH

Return to “Ask For Help”

Who is online

Users browsing this forum: 20170201225639, AmDeG 11, Bing [Bot], HiSoKa, Kellyzkorner_NJ, mikeyww and 58 guests