• 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

protect my blog content

Cannot connect to own websocket server when on secured domain

PHP: Insert marker every 3 iterations

php retrieve specific data onclick from database in a list format

Project structure for PHP

Laravel MSSQL Server Connection not working

How to use $this->session->set_userdata in codeigniter

(PHPUnit) PHP Fatal error: Uncaught Error: Call to undefined function each()

Handling expired token in Laravel

merge all files in directory to one text file

Smarty: undefined extension class 'Smarty_Internal_Method_Get_Template_Vars'

how do i retrieve and display the alt text of an image in wordpress?

Center point of multiple gps coordinates with php

Wordpress add responsive srcset header image to theme

WAMP/Wordpress - cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received

About Contact Privacy policy Terms and conditions