Page 1 of 1

what is tool to check online regex

Posted: Thu Jun 20, 2013 5:05 am
by ducdm87
anyone know about regex tutorial pages and online tests
i see http://php.toolregex.com easy to use

Re: what is tool to check online regex

Posted: Thu Jun 20, 2013 5:08 pm
by mecha_godzilla
Hi,

Do you need to know what these tools are used for, or do you just want links to other tools that do the same thing but in a different way?

A list of the in-built functions in PHP that relate to regular expression (regex) matching and replacement can be found in the PHP manual:

http://uk.php.net/manual/en/ref.pcre.php

HTH,

Mecha Godzilla

Re: what is tool to check online regex

Posted: Thu Jun 20, 2013 8:42 pm
by ducdm87
thanks so much mecha_godzilla.
I started to learn about regex. Do you know any website online support regex test

Re: what is tool to check online regex

Posted: Fri Jun 21, 2013 3:32 pm
by mecha_godzilla
If you are learning how to use regular expressions, the following site might be helpful:

http://www.noupe.com/php/php-regular-expressions.html

Some of the online regex tools are quite difficult to use, so you might be better to look for specific code examples of what you want to use regular expressions for such as:

- validating telephone numbers and addresses
- removing all non-word characters from a text string
- converting special characters (such as "&" or "@") to textual equivalents ("and" or "at") to create "safe" permalinks or filenames
- substituting a placeholder in a template for equivalent live data

M_G

Re: what is tool to check online regex

Posted: Thu Jul 25, 2013 7:25 pm
by ragax
The list of online regex tools seems to be mushrooming endlessly.
I suspect that making an online regex checker is an assignment in some computer science classes. The result is a plethora of regex checkers with me-too features—and it becomes hard to know which ones to use, particularly if you're married to a particular language.

My strong preference is for offline tools. For PHP, up to now regexbuddy had patchy support of PCRE features such as recursion, \K and so on, but as of the beta for RB4 (not public) this will all be fixed.

Re: what is tool to check online regex

Posted: Thu Jan 09, 2014 7:32 am
by HeyThere
I like offline tools too. However, if I want to send somebody a working regular expression I often end up using this site: http://php-functions.online-domain-tool ... CSN4ZIiQx/ since a colleague does not need anything except a browser.