anyone know about regex tutorial pages and online tests
i see http://php.toolregex.com easy to use
what is tool to check online regex
Moderator: General Moderators
- mecha_godzilla
- Forum Contributor
- Posts: 375
- Joined: Wed Apr 14, 2010 4:45 pm
- Location: UK
Re: what is tool to check online regex
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
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
thanks so much mecha_godzilla.
I started to learn about regex. Do you know any website online support regex test
I started to learn about regex. Do you know any website online support regex test
- mecha_godzilla
- Forum Contributor
- Posts: 375
- Joined: Wed Apr 14, 2010 4:45 pm
- Location: UK
Re: what is tool to check online regex
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
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
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.
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
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.