• 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

How to pass data to all views in Laravel 5?

oauth-private.key does not exist or is not readable

Reducing authentication calls on external API (Laravel 5.6)

PHP Warning: Module already loaded in Unknown on line 0

Laravel unique validation on multiple columns

Get Header Authorization value of a login api (sent with username and password in json body) using php curl

How to modify CSS in a specific page of the WP admin dashboard (backend)

laravel MVC execution flow

Open a popup box after receiving result from ajax

Problem with fetching data from database in Laravel

Laravel Livewire: jQuery not working in child component loaded via @if statement

How to override header set in Apache config with more specific header in a virtual host

Implode columnar values between two arrays into a flat array of concatenated strings

Array to string conversion

Appending data to an anchor tag

About Contact Privacy policy Terms and conditions