• 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

Toggle between a textbox and a select using PHP

Google Calendar API batch request PHP

Display Brand Name Above Product Title in Woocommerce Cart, Checkout Page, Orders and Email Notification

How to get array values using foreach in laravel

Sliders in Laravel

Laravel Jetsream Profile page not loading on fresh install

Attempted to call an undefined method named "get" of class "MailController"

laravel 5.6 bulk inserting json data

How to run a shell as root from php (apache)

Laravel Displaying image from database

Laravel passport auth token not working after moving to different server

How can I stop a symfony process which is listening on http://127.0.0.1:8000

With doctrine ODM, can I embed many subdocuments in a main document?

Get sql.h error on MacOS 12 (Monterey) sqsrv and pdo_sqsrv drive installation

retrieve data from database using session

About Contact Privacy policy Terms and conditions