Quantcast
Channel: Lampdocs.com » Regexps
Browsing all 4 articles
Browse latest View live

Testing Regular Expressions Online

Just wanted to share some useful links with you. If you often use regular expressions, you might find useful to check them online or anywhere else before your code is executed. First of all, an Online...

View Article



Regular Expression to Parse Text Between Simple Tags (XML)

It is often necessary to extract text from a variable that contains HTML or XML code. I’ve created a simple regular expression that will help you to extract all text between certain tags into an array....

View Article

Regular Expression to Extract all E-mail Addresses from a File With PHP

Sometimes you need to extract some data from text files. E-mails, passwords, just some simple tags… no matter what it is, your best choice to do this is to use regular expressions. I will show you a...

View Article

Regular Expression to Validate URLs

Here is a short regexp that is used to validate whether a user has entered correct URL address. Might be useful in any scripts dealing with user data. I will show it as PHP code:...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images