php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "d"

What regular expression is being used in the PHP script to extract dates from folder names?

The regular expression being used in the PHP script to extract dates from folder names is likely something like "/\d{4}-\d{2}-\d{2}/". This regex patt...

How can regular expressions be utilized to extract date components in PHP?

Regular expressions can be utilized in PHP to extract date components by defining a pattern that matches the desired date format and using functions l...

What are the different date formats commonly used in PHP scripts?

When working with dates in PHP scripts, it's important to be familiar with different date formats to properly format and display dates. Some commonly...

How can regular expressions (regex) be effectively used in PHP to validate user input like dates or times?

Regular expressions can be effectively used in PHP to validate user input like dates or times by creating patterns that match the desired format. For...

How can one validate a specific format using regular expressions in PHP, such as xx-xx-xx where x is a number?

To validate a specific format like xx-xx-xx where x is a number using regular expressions in PHP, you can use the preg_match function to check if the...

Showing 36 to 40 of 370 results

‹ 1 2 ... 5 6 7 8 9 10 11 ... 73 74 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.