Tag Archives: regex

PHP: How to Remove or Replace Strings from the Front and End of a Value

Today’s little PHP hint is a pretty simple one, but one worth tackling if you are looking for a quick and easy way to strip a particular string pattern off the front and end of a value. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | View Comments

PHP: How to Get all the Numbers out of an Alphanumeric String?

Given a registration code, or something important like that, which often contains information encoded in the alphanumeric string itself, it is sometimes quite useful to be able to simply strip out the letters from the string, leaving only the numeric part behind. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , , | View Comments

PHP: How to Get all the Letters out of an Alphanumeric String?

Given a registration code, or something important like that, which often contains information encoded in the alphanumeric string itself, it is sometimes quite useful to be able to simply strip out the numbers from the string, leaving only the letters behind. Continue reading

Posted in Technology & Code, Tutorials | Tagged , , , , , | View Comments

Cross Platform Regular Expression (RegEx) Tool: RegExr

Regular expressions are plain and simple an enormous headache – but man when you get them to work for you then they are the most powerful guns known to any string-manipulating madman out there. Continue reading

Posted in Software & Websites | Tagged , , , , , , | View Comments