• 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

Creating command to backup MySql database in Laravel

PHP array, move keys and values to new array, but mix it up

Composer Curl error 60: SSL certificate problem: unable to get local issuer certificate

How do I pass the dynamic output of a php variable or php function to a CSS variable?

Display the WooCommerce product price inside a custom function

Convert PHP array into HTML tag attributes separated by spaces

laravel controller function parameters

Input and output values for php into the browser?

Detect a fetch request in PHP

Target Laravelista is not instantiable

HTML and PHP in one file

Cross-Origin Resource Sharing (CORS) witth Laravel and Vuejs

hidden INPUT value not available in $_POST

Assets not referencing to public folder (Laravel)

Live search query using JS and PHP for QA forum

About Contact Privacy policy Terms and conditions