Regex Helpful Resource

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
pkSML
-


Joined: 29 May 2006
Posts: 952
Location: Michigan, USA

PostPosted: Thu Apr 11, 2019 3:19 am    Post subject: Regex Helpful Resource Reply with quote

The bane of almost any website or command line scripting is regular expression matching.

I have used Regex Coach for many years with great benefit. http://www.weitz.de/regex-coach/

I have a site that requires UTF-8 encoding, and thus needed a new resource that supported it.

And that new resource is: https://regexr.com/

You can specify your options ("Flags") and it tells you match groups when you hover over the matched text. Note: Change the mode to PCRE for PHP-compatible regular expressions.

And there is lots of handy regex reference material on the menu at the left of the screen.

Enjoy!


_________________
Stephen
Need a LitlURL?


http://CodeBin.yi.org
Back to top View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Mon Apr 22, 2019 12:33 pm    Post subject: Re: Regex Helpful Resource Reply with quote

pkSML,

Wonderful site and very nice features.

The major pain with URL rewriting is translating the idea in an expression with a weird syntax. So far there are very few alternatives to the PCRE syntax that could be easy, declarative and do functional.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group