• 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

Autoloading classes in PHPUnit using Composer and autoload.php

PHP block shortcut in Visual Studio Code

array_map triple dimensional array [duplicate]

Unable to guess the mime type as no guessers are available Laravel 5.2

How to submit a form when page loads using JavaScript?

Select option from dropdown menu with PHP and mySql

PHP function Not Working As Expected From functions.php Include File

Alert message after submitting form in PHP

Can I use a WooCommerce function without any WooCommerce page?

Convert date and time to Jalali in Laravel

Edit XML in HTML form and submit to self

Xdebug in Laravel is not working with VSCode

How to edit Records using CodeIgniter

Array to string conversion

Cannot retrieve error message using Symfony HttpClient if the response is not "ok"

About Contact Privacy policy Terms and conditions