• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Substitute integers and dots with regex [duplicate]

phpregex


PHP Snippet 1:

(\d.\d)

PHP Snippet 2:

\d+(\.\d+)?

Related Snippets

WAMP Virtual Host not working

Check If array is null or not in php

Nginx disallowing execution of PHP in uploads directory with Magento

php curl requesting twice

Laravel excel maatwebsite 3.1 import, date column in excel cell returns as unknown format number. How to solve this?

Laravel database insert with combining array and string

How To Access A Column In M-M Relationship Table In Laravel

Populate Dynamic Dropdowns List in Codeigniter

javascript html popup window

How do I enable error reporting in Laravel?

Timber: Single post pagination does not work (wp_link_pages)

Submitting a form with ajax in Wordpress

Composer Script echo

Split a string array into pieces

Filter WooCommerce products with post__in and additional meta queries

About Contact Privacy policy Terms and conditions