by: sinister |
last post by:
The examples in the online manual all seem to use double quotes, e.g. at
http://us3.php.net/preg_replace
Why? (The behavior is different with single quotes, and presumably simpler
to...
|
by: toedipper |
last post by:
Hello,
The following bit of code does a preg match and does something if true
(sets $browser to ppcie)
Without using if then and else's how do I code it so it does not equal
what it is...
|
by: system7designs |
last post by:
I don't know preg's that well, can anyone tell me how to write a
regular expression that will select everything BUT files/folders that
begin with ._ or __?(that's period-underscore and underscore...
|
by: frizzle |
last post by:
Hi group,
I have a function which validates a string using preg match.
A part looks like
if( !preg_match( '/^(+((*)?)?)$/', $string )
||
preg_match( '/(--|__)+/' ,$string) ) {
i wonder...
|
by: terence.parker |
last post by:
I am trying to do a search through some data, more specifically HTML,
to extract data from it. So for example I may have:
<b>Title:</b<em>This is a title</em>
<b>Name:</b<em>Fred</em>
I wish...
|
by: monomaniac21 |
last post by:
hi all
what is the preg for capitals in a word to be replaced by that word
preceded by a space?
i need to be able to do this in preg:
thisWord := this Word
AnotherExample := Another Example
|
by: moishy |
last post by:
If I wanted to match for instance, all characters that are not in <TAGS>, I would search for all ">ANYTHING<".
But how do I make that "ANYTHING"?
What will be the PREG for absolutely ANY...
|
by: maheswaran |
last post by:
Want to replace the field
D:\\Program Files\\xampp\\htdocs\\sample
into
D:\Program Files\xampp\htdocs\sample
I tryed lot using ereg/preg replace but not suceed.....
|
by: JanDoggen |
last post by:
function vldLicense($lic)
{
echo "called with lic: ". $lic . "<br>";
echo preg_match('', $lic) . "<br>";
if (preg_match('{4}-{4}-{4}-{4}', $lic) == 0) return false;
return true;
}
gives me:
|
by: imarkdesigns |
last post by:
Good day to all masters here.. good to be back here again and nice site!
ok, i have a problem and still confusing to accomplish using 2 values in preg match. here is my sample code...
<?php
...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|