Search And Replace Strings With Regular Expressions In Php

preg_match("/(?:*d+<+,-_/>?d*<+>?*d**d*)/i", $text, $subject); $sharh = $subject<0>;but when i enterUG207-32+ER as text , it replace the "+" by space "" và $sharh would beUG207-32 ER

People are also looking for solutions to lớn the problem: the browser (or proxy) sent a request that this server could not understand.SourceShare

Didn"t find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question & get a quick answer for free.

Bạn đang xem: Search and replace strings with regular expressions in php

349 php - Matching text that is not within the curly brackets, while also capturing the brackets after

Write quick answer

Do you know the answer to lớn this question? Write a quick response to it. With your help, we will make our community stronger.

About the technologies asked in this question


PHP (from the English Hypertext Preprocessor - hypertext preprocessor) is a scripting programming language for developing website applications. Supported by most hosting providers, it is one of the most popular tools for creating dynamic websites.The PHP scripting language has gained wide popularity due to its processing speed, simplicity, cross-platform, functionality và distribution of source codes under its own license.

Welcome to

* is a question và answer site for professional website developers, programming enthusiasts và website builders. Site created và operated by the community. Together with you, we create a miễn phí library of detailed answers lớn any question on programming, website development, trang web creation và website administration.

Xem thêm:

Get answers khổng lồ specific questions

Ask about the real problem you are facing. Describe in detail what you are doing and what you want lớn achieve.

Help Others Solve Their Issues

Our goal is lớn create a strong community in which everyone will tư vấn each other. If you find a question and know the answer to it, help others with your knowledge.

Latest questions:

344 php - Can I use this technique to provide không tính tiền email service for my users? 696 apache - XAMPP is caching .html files running as PHP 400 php - Get attachment URL 385 javascript - hard time khổng lồ make the W3C AppML tutorial example working 129 php - How to tải về Images from new RETS CRMLS 860 game ios to php server tệp tin upload - what file form size image should I allow? 410 php - Laravel/Eloquent: Fatal error: gọi to a member function connection() on a non-object 920 php - SilverStripe inline editing / hide field value 226 jquery - How to lớn get the values from fields in the current row of a while loop when a button if clicked in php 569 php - Google Sheets API Client - How to get single sheet data PHP x 249940Laravel x 27230Yii x 2062CodeIgniter x 5842Symfony x 4854CakePHP x 1587Zend Framework x 553Phalcon x 174FuelPHP x 22Slim x 371JavaScript x 23248React x 455Angular x 621Vue.js x 141JQuery x 6120Backbone.js x 10Node.js x 305Meteor x 3Polymer x 8Aurelia x 1MySQL x 21973CSS x 1568Bootstrap x 1068Foundation x 60UIkit x 2Semantic UI x 1Bulma x 2Animate.css x 1HTML x 12991Join us in Facebook
© 2021-2022Preguntas y respuestas sobre programación web en español.E-mail:

This site uses cookies. We use them khổng lồ improve the performance of our website and your interaction with it. Confirm your consent by clicking OK