Regex - Not specifically Epicor

I don’t use Regular Expression often so I usually have to google and experiment to find the right combination. This time I found a website that has an expression evaluator that was a big help

I get nothing out of mentioning it, actually made a donation as it cut my time building and testing the regular expression way down.

It and NotePad++ are on my list of essential tools. Another one that I use primarily for its ability to format code is Visual Studio Code. Kinetic code editors help with formatting code but I still get poorly indented code after moving code around and making adjustments… I copy out my custom code from Epicor, paste and format it and then copy/paste it back into Epicor.

2 Likes

Regex writing is the one thing I pawn off to an AI. They’re pretty good at it and your link is a great resource for validating the AI output.

3 Likes

I keep forgetting that I am obsolete and that AI could do this. ChatGPT wrote it pretty much the same as I did in much less time.

1 Like

yep, the last time I had a regex issue I went straight to AI and it worked like a charm

I only popped in to this thread to see if anyone had recommended that site!

I do use regex almost daily, and still pop into regex101 often. I’m not aware of any options as useful for translating between regex engines, and it’s the fastest way to look up seldom used things.

Random trivia - speaking of VSCode, regex is a funny quirk. Some parts use javascript regex, other parts use (IIRC?) Rust. Super fun when regex that works over here throws an error over there, at least the first time anyway.

1 Like